Programming Languages

219 articles in this topic

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 read54 viewsC

JavaScript Basics: Variables, Functions, Arrays and DOM

Learn the language rules behind JavaScript output questions, then follow one complete example from an array of scores to visible DOM nodes.

Updated 5 Sep 20265 min readJava

Loops in Python: for, while, range(), break and continue

Learn to predict Python loop output one pass at a time, choose the right loop, and avoid boundary, update, and list-modification errors.

Updated 5 Sep 20266 min readPython

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.

Updated 4 Sep 20265 min readProgramming Languages Survey

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.

Updated 4 Sep 20266 min readC++

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.

Updated 4 Sep 20266 min readC

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.

Updated 3 Sep 20266 min readJava

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.

Updated 3 Sep 20265 min readPython

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.

Updated 2 Sep 20266 min readProgramming Languages Survey