Programming Languages
213 articles in this topic

Python Classes and Objects Tutorial: Build a Student Model Step by Step
Build one Student class, create independent objects, and trace every value. The examples show how constructors, methods, and attribute lookup work in Python.

Kotlin Tutorial for Beginners: Build a Null-Safe Study Tracker
Learn core Kotlin by building one console project with nullable values, a data class, small functions and a collection pipeline whose output you can verify.

C++ Composition vs Inheritance: Choose the Stable Relationship
Follow one C++ notification design from eight combination subclasses to three replaceable policies. The worked trace shows exactly where inheritance still fits.

Enums and Typedef in C: Syntax, Worked Examples, and Common Errors
Learn how C enums name integer states and typedef aliases existing types. Trace two complete programs, then avoid collisions, hidden pointers, invalid values, and size assumptions.

Conditionals in Java: if, else if, switch and Worked Examples
Learn Java conditionals by tracing one student-result program from its inputs to its grade, eligibility, scholarship and lab-day outputs.

Python Tokens, Variables, Data Types and I/O: Worked Examples from Input to Output
Trace one Python program from keyboard text through name binding, numeric conversion, a Boolean decision and formatted output, then test the common traps.

Kotlin Learning Roadmap: A 12-Week Path from JVM Basics to Coroutines
Follow one study-tracker project from a Kotlin console program to tested domain logic, structured coroutines and a focused application demo.

C++ Lambda Expressions: Capture Rules, Closures and STL Patterns
Learn to read C++ lambdas, trace copied and referenced state, write a valid sort comparator, and prevent dangling-reference bugs in stored callbacks.

Double Pointers in C: Memory Model, Syntax, and Worked Examples
Understand what every level of an int ** means, when a function needs one, and why arrays of pointers differ from 2D arrays. Runnable C17 examples make each step concrete.

Variables and Primitive Types in Java: Declarations, Conversions and Worked Examples
Learn how Java declares variables, represents all eight primitive types, promotes operands and handles casts. Then trace a complete program and correct common output traps.

Python Lambda and Higher-Order Functions: Runnable Examples, Traps, and Exercises
Build lambdas from ordinary functions, pass them into higher-order operations, and trace a complete Python data pipeline. Then fix common errors and test yourself with runnable exercises.

Go vs Python: Choose for Services, Scripts and Team Speed
Compare Go and Python on one fixed HTTP workload, then use timing traces and weighted scorecards to choose for durable services, short scripts and real teams.