Programming Languages
117 articles in this topic

PHP Learning Roadmap: Core Syntax to a Tested Laravel App
Follow a practical 12-week path from typed PHP and Composer to safe database access, feature tests and a Laravel rebuild, using one application throughout.

C++ Compiler Warnings and Sanitizers: Catch Bugs Early
Build a practical C++ safety net with strict warnings and sanitizer runs. Three small programs show how to find, explain and fix defects before they spread.

Memory Management in C: Stack, Heap, malloc, calloc, realloc and free with a Worked Example
Learn how C object lifetimes, allocation functions, ownership, bounds, and cleanup fit together through a complete resizable-array example.

Inner Classes in Java: Types, Scope Rules and Four Runnable Examples
Learn when Java nested types need an outer object, what they can capture, and how scope resolution works through four runnable programs and one short trace.

Python Loop Patterns and Idioms: A Practical Tutorial
Move beyond manual counters and fragile flags. Learn the Python loop idioms that make iteration, filtering, aggregation, pairing, and search easier to read.

Best Programming Language for Placements: Test Python, Java or C++ in 4 Weeks
Choose a placement coding language with evidence. This four-week trial checks employer support, timed results, explanation skill and debugging comfort before you commit.

C++ Arrays vs std::array vs std::span: Choose the Right Interface
Run the same five integers through raw-array, std::array and std::span interfaces, then choose from their ownership, size and lifetime contracts.

Dynamic Memory Allocation in C: malloc, calloc, realloc and free with a Worked Example
A runnable marks example shows how C requests, initializes, grows and releases runtime storage, with checked byte counts, ownership and safe realloc handling.

JavaScript Strings Tutorial: Methods, Template Literals, and Runnable Examples
Learn strings from their delimiters and zero-based indexes through searching, cleaning, and coercion. Each example is runnable, including a complete input-to-key transformation.

Functions in Python: Parameters, Return Values, Scope and Examples
Build, call and debug Python functions through traced examples. Learn how arguments, local scope and return values work, then test yourself with short exercises.

JavaScript Prototypes and Inheritance: Tutorial with Runnable Examples
Understand how JavaScript finds inherited properties, shares methods, and implements constructor and class inheritance. Trace the chains, fix common mistakes, and test yourself.

C++ Classes and Objects MCQs: 11 Solved Questions on Members, Pointers and Inheritance
Work through 11 C++ classes and objects MCQs, then use the fresh explanations and fixed examples to repair mistakes in access, lifetime and inheritance rules.