Programming Languages
215 articles in this topic

C++ Exception Handling: Typed Errors, Stack Unwinding and Safe Recovery
Build a small C++ parser that reports machine-readable failures, recovers only from a malformed optional field, and preserves saved state when a required field fails.

Bitwise Operations in C: Operators, Masks and Worked Examples
Learn C bitwise operators by tracing one unsigned example, then use the same ideas for flags, packed fields, power-of-two checks and set-bit counting.

Arrays in Java: Declaration, Traversal, 2D Arrays and Worked Examples
Build a correct mental model of Java arrays, then trace sums, aliases, jagged rows, sorting, binary search and common mistakes through exact examples.

Introduction to Python: Syntax, Execution and Worked Examples
Build a reliable Python mental model, then trace values, branches, loops, aliases and a five-score function without skipping a state change.

Go vs Rust for Backend Systems: Choose Simplicity or Stronger Guarantees
Trace the same six-job backend worker in Go and Rust, then compare concurrency, ownership, latency, build feedback, deployment, and project fit.

C++ enum class, struct, pair and tuple: How to Model Small Data Safely
Model Ticket 417 three ways, calculate the same response window, then add an owner to see why named fields often beat positional access in changing code.

Storage Classes in C: auto, register, static and extern with Examples
Learn what auto, register, static and extern actually control in C. Trace persistent and fresh objects, then connect two source files without creating duplicate state.

DOM Manipulation in JavaScript: Build an Interactive Study Planner
Build a study planner while learning to select nodes, update safe content, delegate clicks, add tasks, and verify every visible total.

Python Collections and Strings: Complete Guide with a Worked Word Counter
Choose the right built-in Python container, trace aliases and slices correctly, and combine all five types in a worked word-counting pipeline.

Abstract Class in OOP: How Incomplete Classes Define Interfaces, with a Worked Example
See why an abstract class is intentionally incomplete, then trace a Java-like Shape example through subclass completion, reusable methods and runtime dispatch.

C++ const, constexpr and consteval: Runtime Immutability vs Compile-Time Guarantees
See exactly what each C++ keyword guarantees. One C++20 program separates immutability, optional constant evaluation and mandatory constant evaluation.

Pointers and Functions in C: Runnable Examples from Swap to Callbacks
Follow one object-and-address model through pointer parameters, arrays, returned pointers, callbacks, and a compact exam trace. Each result is worked out before it is run.