Coding & Skills
201 articles in this topic

Constructors and Destructors in C++: Object Lifetime with Runnable Examples
Trace constructor selection, copying, scope exit, reverse destruction, and RAII through two complete C++17 programs with exact output and memory diagrams.

JavaScript Variables: let, const and var Scope with Runnable Examples
Learn how let, const and var differ by tracing real JavaScript programs through block scope, hoisting, object mutation and loop closures.

StringBuilder and StringBuffer in Java: Differences, Methods and Runnable Examples
Learn how Java's mutable text classes change character sequences, where their indexes matter, and when method-level synchronisation changes the right choice.

Python Setup for Beginners: Install and Run Your First Program
Build a clean Python project from scratch, verify the interpreter, run a complete program and diagnose the setup mistakes that catch most beginners.

Linked List Problems in Java: Reversal, Cycle Detection, and the Interview Classics Traced
Trace the pointers behind in-place reversal and Floyd's cycle algorithm, then reuse the same habits for other linked list interview problems.

Go Tutorial for Beginners: Build a CLI with Packages, Types, Slices, Maps and Errors
Start with a module and finish with a working student-report command. Trace Asha's scores through slices, a map and a struct, then test three useful failures.

Arrays in C++: Sequential Storage, Indexing and Worked Examples
Build one C++ array from declaration to traversal, updates, memory addresses, fixed-capacity insertion and deletion, then extend the model to two dimensions.

Multi-Layer Perceptron and Backpropagation Explained with a Worked Example
Build a 2-2-1 neural network from its inputs to its loss, then trace backpropagation through every weight and bias. The complete update shows why each sign matters.

Classes and Objects in C++: Beginner Tutorial with Runnable Examples
Build a precise mental model of C++ classes and objects with two Rectangles, a checked setter, exact output traces, common error fixes, and short exercises.

JSX in React: Syntax, Expressions, Lists and a Runnable Worked Example
Learn the mental model behind JSX, then build and trace a five-topic React component. The examples cover syntax rules, calculations, props, events, conditional output, list keys and common repairs.

Map, Set and WeakMap in JavaScript: Runnable Examples and Common Errors
Choose the right JavaScript collection by tracing a stock Map, deduplicating IDs with Set, and attaching object-owned metadata with WeakMap. Includes output traps and self-checking exercises.

Conditionals in Python: If, Elif and Else with Worked Examples
Learn how Python chooses a branch, then trace exact examples covering Boolean operators, truthiness, nesting, short-circuiting and common mistakes.