Programming Languages

213 articles in this topic

Synchronization in Java: Monitors, Race Conditions and Runnable Examples

Learn why Java threads lose updates, what each synchronized form locks, and how to build safe counters, inventory checks and condition-waiting code.

Updated 26 Sep 20266 min readJava

Python Modules and Packages Tutorial: Imports, Structure and Runnable Examples

Learn what Python imports bind, how a regular package fits together, and why package entry points should run with `python -m`. Build and trace every example yourself.

Updated 26 Sep 20266 min readPython

Static vs Dynamic Typing: Errors, Feedback Loops and Refactoring Flexibility

Follow one OrderLine model from an integer price to an INR Money value. See what Java catches during checking, what Python reveals during execution, and what both still need tests to prove.

Updated 25 Sep 20265 min readProgramming Languages Survey

C++ STL Algorithms: Sort, Search, Transform and Clean Data in One Pipeline

Trace nine sensor readings through sort, lower_bound, transform, erase-remove and accumulate, with every iterator rule and intermediate value explained.

Updated 25 Sep 20266 min readC++

Java Streams API Tutorial: Filter, Map, Reduce and Collect with Runnable Examples

Learn Java streams from the source-to-terminal mental model, then trace operations, reductions and collectors through runnable examples and practice tasks.

Updated 24 Sep 20265 min readJava

Pandas Basics in Python: Build, Clean and Analyse a DataFrame Step by Step

Follow one student dataset from its first DataFrame to a clean city summary, while learning how selection, missing values and vectorised calculations really work.

Updated 24 Sep 20265 min readPython

Kotlin vs C#: Compare Null Safety, Async Models, Ecosystems and Platform Fit

Compare Kotlin and C# by building the same packing model in both. See how their managed runtimes, null checks, async behaviour and ecosystems differ.

Updated 24 Sep 20266 min readProgramming Languages Survey

C++ std::vector Internals: Growth, Capacity, Reallocation and Iterator Invalidation

Learn how std::vector manages contiguous storage, why an append can relocate every element, and which iterators, pointers and references survive each mutation.

Updated 24 Sep 20266 min readC++

Optional in Java: Null-Safe Patterns with Runnable Examples

Learn Java Optional from creation to stream pipelines through one user lookup. Trace present and empty paths, compare fallbacks, and repair common mistakes.

Updated 23 Sep 20265 min readJava

Python Operators and Expressions: Precedence, Types and Worked Output Traces

Trace Python expressions without guessing. This guide connects operator families, precedence, types, short-circuiting and exact output through worked examples.

Updated 23 Sep 20266 min readPython

C# vs C++: Managed .NET, Native Control, and the Trade-offs That Matter

Compare one component in C# and C++, then use its lifetime, generic, build, and interop behaviour to choose the right model for your software.

Updated 23 Sep 20266 min readProgramming Languages Survey

C++ std::string_view: Fast Read-Only Text APIs Without Accidental Copies

Learn when a read-only text API should take std::string_view, then trace one request parser and spot the lifetime errors that make views dangle.

Updated 22 Sep 20266 min readC++