Programming Languages

117 articles in this topic

Exception Handling in C++: try, catch, throw and two runnable examples

Follow two runnable programs to see how C++ exceptions change control flow, select handlers and destroy local objects during stack unwinding.

Updated 23 Aug 20266 min readC++

References in C++: Syntax, Aliasing, and Runnable Examples

Build a reliable mental model of C++ references through state traces, parameter examples, const binding, pointer comparisons, and common error repairs.

Updated 23 Aug 20266 min readC

Java Tutorial: The Complete Learning Path for Self-Study

Learn Java in the right order, from your first compiled program to OOP, collections, and DSA. Each stage includes a practical target and an honest exit check.

Updated 23 Aug 20266 min readJava

Sets in Python: A Complete Tutorial with Worked Examples

Learn how Python sets store unique values, how each core operation works, and how to avoid the errors that catch beginners, with every output worked through.

Updated 23 Aug 20266 min readPython

TypeScript Tutorial for Beginners: Add Safe Types to JavaScript

Turn a small JavaScript task board into TypeScript step by step. See exactly how the checker catches a bad value and preserves useful type information.

Updated 22 Aug 20266 min readProgramming Languages Survey

C++ Variables, Scope and Namespaces: Trace Name Lookup Across Three Files

Trace one C++ program across a header and two source files to see exactly how declaration, initialisation, scope, namespaces, lifetime and linkage differ.

Updated 22 Aug 20265 min readC++

Memory Layout of a C Program: Stack, Heap, Data, BSS and Text Explained

Place globals, static objects, literals, local variables, pointers and allocated values correctly using one runnable C program and an illustrative ELF/Linux map.

Updated 21 Aug 20266 min readC

JavaScript Array Methods: map, filter, reduce and the Interview Problems They Solve

Work through a filter-map-reduce chain and a frequency-table accumulator, then separate non-mutating array methods from the methods that change their input.

Updated 21 Aug 20266 min readJava

Numbers and Arithmetic in Python: Operators, Precision, and Worked Examples

Understand how Python evaluates numeric expressions, from result types and precedence to negative floor division and floating-point comparison. Runnable examples culminate in one complete practice-session calculation.

Updated 21 Aug 20266 min readPython

PHP Tutorial for Beginners: Build a Form-to-Database Request Flow

Follow Asha's registration from an HTML form through PHP validation and a safe MySQL insert, then display the saved row after a redirect.

Updated 20 Aug 20266 min readProgramming Languages Survey

C++ auto and decltype: Trace Every Deduced Type

Trace what C++ actually deduces when auto, references, const, decltype, and decltype(auto) interact, then confirm each result at compile time.

Updated 20 Aug 20266 min readC++

C++ Setup Tutorial: Install a Compiler and Run Your First Program

Set up a C++ compiler, turn main.cpp into an executable, and learn to diagnose the stage that failed. Two small programs make every command and value concrete.

Updated 20 Aug 20266 min readC