Tagged articles
3 articles
Page 1 of 1
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 9, 2024 · Frontend Development

Deep Data Access in JavaScript: Building the anypath Library for Reading and Writing Nested Structures

This article explains the challenges of reading and writing deeply nested data in JavaScript, introduces native optional‑chaining and TypeScript solutions, and walks through the design and implementation of a reusable anypath library that supports objects, arrays, Maps and Sets.

JavaScriptLibrary DevelopmentTypeScript
0 likes · 13 min read
Deep Data Access in JavaScript: Building the anypath Library for Reading and Writing Nested Structures
MaGe Linux Operations
MaGe Linux Operations
Sep 17, 2019 · Fundamentals

Essential Checklist for Designing Clean Python Library APIs

This article distills the key recommendations from the 2017 PyCon talk “How to make a good library API”, offering a concise checklist that covers simplicity, consistency, flexibility, and security to help Python developers create intuitive, maintainable, and robust library interfaces.

ConsistencyLibrary DevelopmentPython
0 likes · 11 min read
Essential Checklist for Designing Clean Python Library APIs
MaGe Linux Operations
MaGe Linux Operations
Dec 17, 2017 · Backend Development

How to Build and Publish Your Own Python Library to PyPI

This guide walks you through setting up a Python project structure, creating essential packaging files, organizing modules into packages, building distribution archives, and finally uploading the library to PyPI using Twine, enabling others to install it via pip.

Library DevelopmentPyPIPython
0 likes · 6 min read
How to Build and Publish Your Own Python Library to PyPI