Programming Languages
118 articles in this topic

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.

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.

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.

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.

Compiled vs Interpreted vs JIT Languages: How Code Actually Runs
Trace one program from source to CPU through ahead-of-time compilation, bytecode interpretation and JIT compilation. Then compare their costs without relying on labels.

C++ Move Semantics Tutorial: Trace Ownership with Runnable Examples
Follow one heap allocation through copy and move operations, then learn how value categories, special members, copy elision, and noexcept affect real C++ code.

Strings in C++: Beginner Tutorial with Runnable Examples
Learn how std::string behaves through exact outputs, safe input patterns, a worked index trace, common traps, and three short practice problems.

JavaScript Tutorial: The Complete Learning Path from First Script to Real Projects
A beginner-friendly JavaScript roadmap that puts 30 topics in dependency order, then tests the sequence through one marks-report example and three checkpoints.

Python String Methods: A Practical Tutorial With Worked Examples
Stop memorising isolated methods. Trace Python strings through indexing, cleanup, searching, splitting, validation and formatting, with exact results and the traps coding tests use.