Tag

programming fundamentals

0 views collected around this technical thread.

Test Development Learning Exchange
Test Development Learning Exchange
Jun 9, 2025 · Fundamentals

Master Python Control Flow: If/Else, For, While & Practical Tips

This article introduces Python control flow, explaining conditional statements (if, elif, else) and loop constructs (for, while) with clear syntax, practical examples, tips, and exercises to help readers master decision‑making and iteration in their programs.

Code ExamplesPythoncontrol flow
0 likes · 7 min read
Master Python Control Flow: If/Else, For, While & Practical Tips
Test Development Learning Exchange
Test Development Learning Exchange
Jun 4, 2025 · Fundamentals

Understanding Python Exception Handling: Syntax, Usage, and Best Practices

This article explains Python's exception handling mechanisms, covering try, except, else, and finally blocks, detailed usage examples, raising custom exceptions, and best practice recommendations for writing robust and maintainable code in software.

Best PracticesException HandlingPython
0 likes · 7 min read
Understanding Python Exception Handling: Syntax, Usage, and Best Practices
Python Programming Learning Circle
Python Programming Learning Circle
Jun 3, 2025 · Fundamentals

Python Built-in Data Structures: Lists, Sets, Dictionaries, and Tuples

This article introduces Python's core built‑in data structures—lists, sets, dictionaries, and tuples—explaining their characteristics, typical use cases, and providing clear code examples for creation, modification, and access.

Pythondata structuresdictionary
0 likes · 4 min read
Python Built-in Data Structures: Lists, Sets, Dictionaries, and Tuples
Deepin Linux
Deepin Linux
May 28, 2025 · Fundamentals

Understanding Heap Memory Management in C: Detailed Guide to malloc and free

This article provides a comprehensive overview of heap memory management in C, explaining the concepts of heap versus stack, the usage and internal mechanisms of malloc and free, common pitfalls such as memory leaks and dangling pointers, and compares these functions with new/delete, calloc, and realloc.

C++Memory Managementfree
0 likes · 29 min read
Understanding Heap Memory Management in C: Detailed Guide to malloc and free
Code Mala Tang
Code Mala Tang
Apr 27, 2025 · Fundamentals

Master Python’s Stable Sorting: Using sorted() with key and reverse

Python’s sorted() function offers stable sorting, allowing multi‑criteria ordering through successive sorts, while its flexible key parameter lets you customize sorting logic—such as sorting by length then alphabetically—and the reverse flag enables effortless descending order, making complex sorting tasks straightforward.

Pythonkey functionprogramming fundamentals
0 likes · 4 min read
Master Python’s Stable Sorting: Using sorted() with key and reverse
Cognitive Technology Team
Cognitive Technology Team
Apr 22, 2025 · Fundamentals

Understanding the Ternary Operator and NullPointerException in Java

This article explains Java's ternary operator syntax, demonstrates how mixing primitive and wrapper types can trigger NullPointerException due to automatic unboxing, and provides code examples and best‑practice notes to help developers avoid such pitfalls.

JavaNullPointerExceptionUnboxing
0 likes · 3 min read
Understanding the Ternary Operator and NullPointerException in Java
Code Mala Tang
Code Mala Tang
Apr 21, 2025 · Fundamentals

Unlock Python’s Secrets: Master Namespaces and Scope Explained

This article demystifies Python namespaces, explaining how names map to objects, distinguishing them from scope, detailing the LEGB rule, illustrating built‑in, global, local, and nested namespaces, their lifecycles, and showing practical debugging techniques with locals() and globals().

NamespacesPythonScope
0 likes · 9 min read
Unlock Python’s Secrets: Master Namespaces and Scope Explained
Python Programming Learning Circle
Python Programming Learning Circle
Apr 18, 2025 · Fundamentals

15 Minimalist Python Code Snippets for Beginners

The article offers fifteen ultra‑compact Python code snippets, each illustrating a common task—from printing hello world to reading files—providing beginners with quick, ready‑to‑use examples and brief explanations, plus a promotion for a free Python learning resource.

BeginnerPythonTutorial
0 likes · 7 min read
15 Minimalist Python Code Snippets for Beginners
php中文网 Courses
php中文网 Courses
Mar 31, 2025 · Fundamentals

Understanding Inheritance and Polymorphism in Python OOP

This article explains the core object‑oriented programming concepts of inheritance and polymorphism in Python, detailing their advantages, syntax, method overriding, and practical examples that demonstrate code reuse, extensibility, and flexible interfaces through class hierarchies and duck‑typing.

OOPPythoninheritance
0 likes · 7 min read
Understanding Inheritance and Polymorphism in Python OOP
Code Mala Tang
Code Mala Tang
Mar 28, 2025 · Fundamentals

Master Python’s Chain Comparisons: Write Cleaner, Faster Conditional Code

Learn how Python’s chain comparison syntax lets you combine multiple conditions into a single, readable expression, improving code clarity, reducing redundancy, and offering short‑circuit performance benefits for a variety of practical scenarios.

Chain ComparisonCode readabilityConditional Statements
0 likes · 4 min read
Master Python’s Chain Comparisons: Write Cleaner, Faster Conditional Code
php中文网 Courses
php中文网 Courses
Mar 26, 2025 · Fundamentals

Comprehensive Guide to Python String Operations and Techniques

This comprehensive tutorial covers Python string fundamentals, including creation, indexing, slicing, common methods, formatting, encoding, regular expressions, performance optimizations, and real‑world examples, providing practical code snippets to enhance text processing efficiency for developers.

Performance OptimizationPythonprogramming fundamentals
0 likes · 8 min read
Comprehensive Guide to Python String Operations and Techniques
php中文网 Courses
php中文网 Courses
Mar 20, 2025 · Fundamentals

Understanding Python Flow Control Statements: if, for, while, break, continue, and pass

This article explains Python's flow control constructs—including conditional statements (if, elif, else), loops (for, while), and control statements (break, continue, pass)—with clear explanations and practical code examples to help readers write logical, efficient programs.

Conditional StatementsPythonflow control
0 likes · 6 min read
Understanding Python Flow Control Statements: if, for, while, break, continue, and pass
Test Development Learning Exchange
Test Development Learning Exchange
Mar 20, 2025 · Fundamentals

Python JSON Module: Serialization and Deserialization Guide

This article provides a comprehensive guide to using Python's json module for serializing Python objects to JSON format and deserializing JSON data back to Python objects, covering key methods, options, and best practices.

Data FormatsJSONPython
0 likes · 3 min read
Python JSON Module: Serialization and Deserialization Guide
php中文网 Courses
php中文网 Courses
Mar 19, 2025 · Fundamentals

Understanding Python Operators and Expressions

This article provides a comprehensive overview of Python operators and expressions, covering arithmetic, comparison, logical, assignment, membership, and identity operators, their syntax, examples, and precedence rules, helping readers master how to construct and evaluate expressions for various programming tasks.

Code ExamplesExpressionsOperators
0 likes · 6 min read
Understanding Python Operators and Expressions
php中文网 Courses
php中文网 Courses
Mar 18, 2025 · Fundamentals

Understanding Variables and Data Types in Python

This article introduces Python variables as containers for data, explains naming rules, demonstrates variable assignment with examples, outlines common data types such as numbers, strings, booleans, lists, tuples, sets, and dictionaries, and describes type conversion functions for effective data handling.

Data TypesPythonType Conversion
0 likes · 4 min read
Understanding Variables and Data Types in Python
Test Development Learning Exchange
Test Development Learning Exchange
Mar 14, 2025 · Fundamentals

Introduction to Common Python Standard Library Modules

This article introduces several essential Python standard library modules—including os, sys, datetime, math, random, json, re, sqlite3, argparse, logging, and collections—providing brief descriptions and example code snippets that demonstrate their basic usage for file handling, system information, date-time operations, mathematics, randomness, data serialization, regular expressions, database interaction, command-line parsing, logging, and advanced data structures.

ModulesStandard Libraryprogramming fundamentals
0 likes · 3 min read
Introduction to Common Python Standard Library Modules
Test Development Learning Exchange
Test Development Learning Exchange
Mar 13, 2025 · Fundamentals

Comprehensive Guide to Python Built‑in Data Types

This article provides a comprehensive overview of Python's built-in data types—including numbers, strings, lists, tuples, dictionaries, sets, booleans, None, sequences, mappings, iterables, and file handling—explaining their characteristics, typical use cases, and offering clear code examples for each.

Code ExamplesData TypesPython
0 likes · 8 min read
Comprehensive Guide to Python Built‑in Data Types
Code Mala Tang
Code Mala Tang
Mar 12, 2025 · Fundamentals

Why Reading Code Is the Missing Skill Every Developer Needs

The article argues that mastering code reading—through historical examples, production‑level analysis, and practices like Hungarian notation and readability programming—is essential for developers to thrive in an AI‑driven software era.

AI coding assistantsCode readabilitySoftware Development
0 likes · 8 min read
Why Reading Code Is the Missing Skill Every Developer Needs
Test Development Learning Exchange
Test Development Learning Exchange
Mar 1, 2025 · Fundamentals

Python Function Nesting: Concepts, Applications, and Best Practices

This article explores Python function nesting, covering its basic concepts, practical applications, code examples, and important considerations for effective implementation in programming.

Recursioncode encapsulationfunction nesting
0 likes · 7 min read
Python Function Nesting: Concepts, Applications, and Best Practices
Test Development Learning Exchange
Test Development Learning Exchange
Feb 25, 2025 · Fundamentals

Understanding Python Lists: Definition, Operations, and Practical Examples

This article explains Python lists, covering their definition, core characteristics, and a wide range of practical examples—from basic creation and indexing to slicing, nesting, comprehensions, and common operations such as appending, removing, sorting, and iterating—illustrating real‑world use cases for each.

Listsprogramming fundamentals
0 likes · 5 min read
Understanding Python Lists: Definition, Operations, and Practical Examples