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.

Updated 8 Sep 20266 min readC++

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.

Updated 8 Sep 20265 min readC

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.

Updated 8 Sep 20266 min readJava

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.

Updated 8 Sep 20266 min readPython

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.

Updated 7 Sep 20266 min readProgramming Languages Survey

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.

Updated 7 Sep 20266 min readC++

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.

Updated 7 Sep 20266 min readC

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.

Updated 6 Sep 20265 min readJava

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.

Updated 6 Sep 20266 min read97 viewsPython

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.

Updated 6 Sep 20266 min readProgramming Languages Survey

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.

Updated 5 Sep 20266 min readC++

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.

Updated 5 Sep 20266 min readC