Tagged articles
36 articles
Page 1 of 1
Code Mala Tang
Code Mala Tang
Aug 31, 2025 · Fundamentals

Unlock Python’s Special Classes: Iterators, Context Managers, Descriptors & Metaclasses

This guide explores five special Python class types—iterators, context managers, descriptors, abstract base classes, and metaclasses—explaining their protocols, essential magic methods, practical use cases, and providing clear code examples to help you build custom implementations and write more expressive, maintainable code.

Abstract Base ClassesIteratorsPython
0 likes · 14 min read
Unlock Python’s Special Classes: Iterators, Context Managers, Descriptors & Metaclasses
Go Programming World
Go Programming World
Jul 20, 2025 · Fundamentals

Unlocking Go 1.23 Iterators: Deep Dive into Push & Pull Mechanisms

This comprehensive guide explores Go 1.23's iterator system, detailing the underlying principles of push and pull iterators, code transformations performed by the compiler, coroutine implementation, and practical examples that compare Go's approach with Python and JavaScript, helping developers master iterator usage and design.

GoIteratorsPull Iterator
0 likes · 29 min read
Unlocking Go 1.23 Iterators: Deep Dive into Push & Pull Mechanisms
Go Programming World
Go Programming World
Jul 17, 2025 · Fundamentals

Mastering Go 1.23 Iterators: From Basics to Advanced Usage

This article explores the newly introduced iterator feature in Go 1.23, explaining what iterators are, why they were added, how to implement them manually, how to use the new iter package, and how the slices and maps packages provide iterator‑friendly utilities for Go developers.

GenericsGoIterators
0 likes · 34 min read
Mastering Go 1.23 Iterators: From Basics to Advanced Usage
Test Development Learning Exchange
Test Development Learning Exchange
May 17, 2025 · Fundamentals

Understanding Python Generator Functions: Syntax, Usage, and Practical Examples

Python generator functions, using the yield keyword, enable lazy evaluation and memory-efficient data processing, with examples covering basic syntax, differences from regular functions, Fibonacci sequence generation, large file reading, two-way communication via send(), and control methods like throw() and close(), highlighting their advantages.

Code ExamplesIteratorsLazy Evaluation
0 likes · 4 min read
Understanding Python Generator Functions: Syntax, Usage, and Practical Examples
Python Programming Learning Circle
Python Programming Learning Circle
Mar 12, 2025 · Fundamentals

Python Essentials: Strings, Collections, Iterators, and Decorators

This article presents a comprehensive collection of Python fundamentals, covering useful string methods like partition and translate, mutable versus immutable types and argument passing, tuple unpacking, dictionary utilities, set operations, iterator implementations, best practices for exception handling, and various decorator techniques with practical code examples.

CollectionsIteratorsPython
0 likes · 16 min read
Python Essentials: Strings, Collections, Iterators, and Decorators
MaGe Linux Operations
MaGe Linux Operations
Feb 19, 2025 · Fundamentals

Master Python Iterators & Generators: List Comprehensions, Memory‑Efficient Loops, and Fibonacci

This article explains Python's list comprehensions, demonstrates how to create and use generators for memory‑efficient iteration, compares iterators and iterable objects, and provides practical code examples including a generator‑based Fibonacci sequence, helping readers understand and apply these core concepts in their programs.

GeneratorsIteratorsPython
0 likes · 6 min read
Master Python Iterators & Generators: List Comprehensions, Memory‑Efficient Loops, and Fibonacci
Code Mala Tang
Code Mala Tang
Feb 5, 2025 · Fundamentals

Avoid These 4 Common Python Generator Mistakes and Use Them Effectively

Learn what Python generators are, see a simple countdown example, and discover four typical pitfalls—unnecessary use, exhaustion, misuse in list comprehensions, and improper yield placement—along with practical fixes to help you apply generators correctly in real-world code.

GeneratorsIteratorsPython
0 likes · 6 min read
Avoid These 4 Common Python Generator Mistakes and Use Them Effectively
Test Development Learning Exchange
Test Development Learning Exchange
Dec 10, 2024 · Fundamentals

Python itertools Module: Functions, Usage Examples, and Practical Limitations

This article introduces the Python itertools module, demonstrates common functions such as count, cycle, repeat, combinations, permutations, chain, filterfalse, dropwhile, accumulate, and groupby with code examples, and discusses important limitations like infinite loops, memory consumption, and iterator irreversibility.

IteratorsMemoryPython
0 likes · 8 min read
Python itertools Module: Functions, Usage Examples, and Practical Limitations
Taobao Frontend Technology
Taobao Frontend Technology
Nov 9, 2024 · Fundamentals

What New TC39 Proposals Are Shaping JavaScript’s Future?

Recent TC39 Stage‑1 proposals introduce iterator deduplication, enhanced template literals, function and object literal decorators, concurrency controls for async iterators, unordered async helpers, immutable ArrayBuffers, a measurement API, Array.zip utilities, reactive Signals, and stricter resource‑management using enforcement, each aiming to extend JavaScript’s core capabilities.

IteratorsJavaScriptLanguage Proposals
0 likes · 13 min read
What New TC39 Proposals Are Shaping JavaScript’s Future?
Taobao Frontend Technology
Taobao Frontend Technology
Nov 5, 2024 · Frontend Development

What’s New in JavaScript? Deep Dive into ShadowRealm, import defer, and More

This article reviews several upcoming JavaScript proposals—including the Stage 2.7 Error.isError method, the sandboxing ShadowRealm API, the import‑defer syntax for lazy module loading, as well as Iterator.zip, Iterator.concat, and Math.sumPrecise—detailing their motivations, usage examples, and potential impact on web and Node.js development.

ECMAScript proposalsIteratorsJavaScript
0 likes · 11 min read
What’s New in JavaScript? Deep Dive into ShadowRealm, import defer, and More
Test Development Learning Exchange
Test Development Learning Exchange
Oct 6, 2024 · Fundamentals

Understanding Python Iterables and Iterators and Their Use in Automated Testing

This article explains the difference between iterables and iterators in Python, demonstrates how to implement them with custom classes, shows basic usage with built‑in collections, and provides multiple automation‑testing examples using generators and iterator patterns to handle dynamic test data and pagination.

Iteratorsautomation-testingiterables
0 likes · 11 min read
Understanding Python Iterables and Iterators and Their Use in Automated Testing
21CTO
21CTO
Sep 1, 2024 · Backend Development

What’s New in Go 1.23? Key Features and Improvements Explained

Go 1.23 introduces a range‑over‑func iterator, generic type alias preview, optional telemetry, several go command enhancements, numerous standard library updates, and compiler and linker optimizations, providing developers with a more powerful and flexible programming environment.

GenericsGoIterators
0 likes · 6 min read
What’s New in Go 1.23? Key Features and Improvements Explained
Architecture Digest
Architecture Digest
Aug 30, 2024 · Fundamentals

MoonBit: A Next‑Generation Cloud‑Native Programming Language with Modern Generics, Precise Error Handling, and Efficient Iterators

MoonBit is a Chinese‑developed, Rust‑like programming language that offers zero‑cost generics, compile‑time precise error handling, and high‑performance iterators, delivering dramatically faster compilation and smaller WebAssembly binaries for cloud and edge computing workloads.

Cloud NativeError HandlingGenerics
0 likes · 7 min read
MoonBit: A Next‑Generation Cloud‑Native Programming Language with Modern Generics, Precise Error Handling, and Efficient Iterators
Code Mala Tang
Code Mala Tang
Jul 30, 2024 · Frontend Development

What’s New in TypeScript 5.6 Beta? Explore the Latest Compiler Features

Microsoft released TypeScript 5.6 Beta on July 26 2024, introducing stricter null‑and‑truthiness checks, iterator helper methods, built‑in iterator types, arbitrary module identifiers, new compiler flags like --noUncheckedSideEffectImports and --noCheck, region‑priority diagnostics, improved project ownership detection, and several notable behavior changes across the language and tooling.

BetaIteratorsTypeScript
0 likes · 23 min read
What’s New in TypeScript 5.6 Beta? Explore the Latest Compiler Features
Test Development Learning Exchange
Test Development Learning Exchange
Jun 18, 2024 · Fundamentals

Comprehensive Overview of Python Built‑in Functions, Modules, and Advanced Concepts

This article presents a concise yet thorough guide to essential Python built‑in functions such as map, filter, reduce, sorted, enumerate, zip, any/all, as well as advanced features including lambda expressions, comprehensions, itertools, context managers, partial functions, garbage collection, asyncio, decorators, generators, metaclasses, pathlib, type annotations, and enumerations, each illustrated with clear code examples.

IteratorsModulesPython
0 likes · 14 min read
Comprehensive Overview of Python Built‑in Functions, Modules, and Advanced Concepts
php Courses
php Courses
Jun 14, 2024 · Backend Development

Understanding PHP Generators: Efficient Data Iteration and Memory Optimization

This article explains the concept, operation, and advantages of PHP generators, demonstrating how they provide memory‑efficient, lazy‑evaluated iteration for large data sets and streams, and includes practical code examples and best‑practice tips for backend developers.

Backend DevelopmentGeneratorsIterators
0 likes · 9 min read
Understanding PHP Generators: Efficient Data Iteration and Memory Optimization
Deepin Linux
Deepin Linux
Oct 18, 2023 · Fundamentals

Understanding STL: Vectors, Lists, Iterators, and Container Implementations

This article provides a comprehensive overview of the C++ Standard Template Library, detailing the differences between vectors and lists, memory management, iterator validity, container operations, and implementations of various containers such as deque, set, map, and slist, along with code examples.

C++ContainersData Structures
0 likes · 48 min read
Understanding STL: Vectors, Lists, Iterators, and Container Implementations
php Courses
php Courses
Sep 25, 2023 · Backend Development

Advanced PHP Features: Magic Methods, Type Hints, Closures, Namespaces, Generators, Iterators, Date/Time, Regex, and Variable Scope

This article provides a comprehensive guide to advanced PHP features, covering magic methods, type hints, closures, namespaces, generators, iterators, date/time handling, regular expressions, and variable scope, each explained with clear descriptions and practical code examples for backend developers.

Backend DevelopmentGeneratorsIterators
0 likes · 18 min read
Advanced PHP Features: Magic Methods, Type Hints, Closures, Namespaces, Generators, Iterators, Date/Time, Regex, and Variable Scope
Python Programming Learning Circle
Python Programming Learning Circle
May 19, 2023 · Fundamentals

Python Container Types and Handy Tricks for Lists, Dictionaries, and More

This article presents a collection of practical Python techniques for working with built‑in container types such as lists, tuples, sets, and dictionaries, covering operations like extracting maximum values, counting elements, slicing, copying, mapping, filtering, column extraction, and transposition, all illustrated with clear code examples.

Data StructuresDictionariesIterators
0 likes · 7 min read
Python Container Types and Handy Tricks for Lists, Dictionaries, and More
Python Programming Learning Circle
Python Programming Learning Circle
Apr 29, 2023 · Fundamentals

Useful Python Tricks and Techniques for String Handling, Iterators, Context Managers, Memory Optimization, and More

This article introduces a collection of lesser‑known Python tricks—including string cleaning with translate, iterator slicing via itertools.islice, skipping iterable headers, keyword‑only arguments, custom context managers, memory saving with __slots__, resource‑based CPU/memory limits, controlling module exports, and simplifying comparisons with total_ordering.

IteratorsString Manipulationresource-limits
0 likes · 10 min read
Useful Python Tricks and Techniques for String Handling, Iterators, Context Managers, Memory Optimization, and More
Python Programming Learning Circle
Python Programming Learning Circle
Apr 26, 2023 · Fundamentals

Advanced Python Features You May Not Know

This article introduces a collection of lesser‑known but useful Python standard‑library features—including string cleaning, iterator slicing, skipping iterable headers, keyword‑only functions, context‑manager creation, __slots__ memory savings, resource limits, import control, and simplified comparison operators—explaining their usage and benefits for everyday programming.

Advanced FeaturesIteratorscontext managers
0 likes · 8 min read
Advanced Python Features You May Not Know
ByteFE
ByteFE
Nov 11, 2022 · Frontend Development

Curated Frontend Development Reading and Insights

This collection presents a curated set of front‑end development articles and reflections covering modern framework trends, architectural thinking, career planning, performance analysis with Lighthouse, functional programming perspectives, iterator fundamentals, Chrome DevTools tricks, and concurrent request control techniques.

DevToolsIteratorsarchitecture
0 likes · 5 min read
Curated Frontend Development Reading and Insights
Python Programming Learning Circle
Python Programming Learning Circle
Aug 15, 2022 · Fundamentals

Why Modern Programming Languages Have Dropped ++/-- Operators: A Design‑Philosophy Perspective

This article examines the historical origin of the ++ and -- operators, explains why they were introduced, demonstrates that modern compilers no longer gain performance from them, and argues that functional‑style design, iterator‑based loops, and operator‑overloading concerns have led many contemporary languages to remove or deprecate these operators.

CCompiler OptimizationIterators
0 likes · 25 min read
Why Modern Programming Languages Have Dropped ++/-- Operators: A Design‑Philosophy Perspective
Python Programming Learning Circle
Python Programming Learning Circle
Oct 30, 2021 · Fundamentals

Lesser‑Known Python Standard Library Features and Techniques

This article explores several lesser‑known Python standard‑library techniques—including string sanitization, iterator slicing with itertools.islice, skipping initial lines, enforcing keyword‑only arguments, creating custom context managers, using __slots__ for memory savings, limiting CPU/memory via the resource module, controlling module exports with __all__, and simplifying comparisons with functools.total_ordering.

IteratorsMemory Managementcontext managers
0 likes · 7 min read
Lesser‑Known Python Standard Library Features and Techniques
Python Programming Learning Circle
Python Programming Learning Circle
Jul 19, 2021 · Fundamentals

An Introduction to Python's itertools Library

This article introduces Python's itertools module, explaining its purpose for creating efficient iterators, and provides concise examples of functions such as accumulate, chain, combinations, compress, count, cycle, dropwhile, filterfalse, groupby, islice, permutations, product, repeat, starmap, takewhile, tee, and zip_longest, each illustrated with runnable code snippets.

IteratorsStandard Libraryfunctional programming
0 likes · 9 min read
An Introduction to Python's itertools Library
Python Programming Learning Circle
Python Programming Learning Circle
Apr 19, 2021 · Fundamentals

Understanding Python Magic (Dunder) Methods

This article explains Python's built‑in magic (dunder) methods—functions that start and end with double underscores—showing how they enable custom class behavior such as indexing, iteration, string representation, callable objects, context management, object creation, and attribute handling with clear code examples.

Callable ObjectsIteratorsPython
0 likes · 14 min read
Understanding Python Magic (Dunder) Methods
Architect's Tech Stack
Architect's Tech Stack
May 2, 2020 · Fundamentals

Comprehensive Overview of the Java Collection Framework: Interfaces, Implementations, and Usage

This article provides a detailed walkthrough of Java's collection framework, covering the hierarchy of interfaces and abstract classes, the characteristics of List, Set, and Map implementations, iterator mechanisms, common pitfalls, and practical code examples to help developers choose and use the appropriate collection types effectively.

CollectionsData StructuresIterators
0 likes · 31 min read
Comprehensive Overview of the Java Collection Framework: Interfaces, Implementations, and Usage
Python Programming Learning Circle
Python Programming Learning Circle
Sep 12, 2019 · Fundamentals

8 Must‑Know Python Features Every Job Seeker Should Master

This article compiles eight representative Python language‑feature questions—covering iterators, generators, decorators, monkey‑patching, identity vs equality, shallow/deep copying, mutability, introspection, and naming conventions—to help candidates ace technical interviews and deepen their core Python knowledge.

IntrospectionIteratorsNamingConventions
0 likes · 10 min read
8 Must‑Know Python Features Every Job Seeker Should Master
MaGe Linux Operations
MaGe Linux Operations
Feb 10, 2018 · Fundamentals

How Python Generators Work: From Yield to Bytecode Execution

This article explains the concept of Python generators, how the `yield` keyword creates iterator objects, the basic operations for iterating, practical examples such as infinite sequences, and dives into CPython's internal implementation including the call stack, generator creation, the `send`/`next` mechanisms, and bytecode execution details.

CPythonGeneratorsIterators
0 likes · 12 min read
How Python Generators Work: From Yield to Bytecode Execution
MaGe Linux Operations
MaGe Linux Operations
Jun 6, 2017 · Fundamentals

Why Python Generators Outshine Iterators: A Beginner’s Guide

This article explains Python iterators and generators, compares their memory usage and performance, shows how to implement them with Fibonacci examples, and introduces generator expressions as a concise alternative to list comprehensions for handling large data streams.

GeneratorsIteratorsLazy Evaluation
0 likes · 5 min read
Why Python Generators Outshine Iterators: A Beginner’s Guide