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.

Updated 15 Sep 20265 min readPython

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.

Updated 14 Sep 20265 min readProgramming Languages Survey

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.

Updated 14 Sep 20266 min readC++

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.

Updated 14 Sep 20266 min read57 viewsC

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.

Updated 14 Sep 20266 min readJava

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.

Updated 14 Sep 20265 min readPython

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.

Updated 13 Sep 20265 min readProgramming Languages Survey

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.

Updated 13 Sep 20265 min readC++

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.

Updated 13 Sep 20266 min read51 viewsC

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.

Updated 12 Sep 20266 min readJava

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.

Updated 12 Sep 20265 min readPython

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.

Updated 12 Sep 20267 min readProgramming Languages Survey