Skip to main content

Blog

Programming Blog: Tutorials, Guides, and Study Tips

Programming tutorials, homework guides, debugging walkthroughs, and study strategies for CS students across 14 languages.

  • C/C++

    C++ Best Practices for Clean Code

    Six C++ best practices covering naming conventions, code organization, memory management, error handling, documentation, and testing.

  • C/C++

    C++ Programming: A Complete Introduction

    Learn C++ from the ground up: how it compiles, its core data types, functions, and the four pillars of object-oriented programming, with runnable code.

    c++cppobject-oriented programmingdata typesfunctions
  • Python

    7 Ways to Extract Elements from a Python List

    Pull single items, slices, and filtered subsets from a Python list using indexing, slicing, comprehensions, filter, map, enumerate, and zip.

    pythonlistsindexingslicinglist-comprehension
  • C/C++

    C++ stoi(): Convert a String to an int

    How std::stoi converts a string to an int in C++, with syntax, the idx and base parameters, exception handling, and the stof, stol, and from_chars alternatives.

    cppstoistring-conversionexception-handlingstd-string
  • Programming

    Python Files and Directories Explained

    Learn how to work with files and directories in Python using the os and glob modules, covering absolute paths, relative paths, and directory listing.

  • Programming

    Graph Traversal Algorithms: Java and Python

    Step-by-step DFS and BFS graph traversal in Java and Python, with code walkthroughs, diagrams, and O(N) time complexity analysis.

  • Programming

    Pascal's Triangle in C++ and Java

    Step-by-step implementation of Pascal's Triangle in C++ and Java, covering pattern printing and combinatorics-based value computation with full working code.

  • Java

    Sorting Algorithms in Java: Step-by-Step

    Bubble Sort and Quick Sort implemented in Java with time complexity analysis, step-by-step code walkthroughs, and working examples you can run immediately.

  • Programming

    SOLID, DRY, KISS, YAGNI: Design Principles

    A working guide to the software design principles every developer cites: SOLID, DRY, KISS, and YAGNI, with code examples in Python, Java, and JavaScript.

    SOLIDDRYKISSYAGNIsoftware design principles
  • Programming

    Start Learning Programming: A Beginner's Guide

    Pick a language, build projects from day one, and avoid the three mistakes that stall most beginners. A practical starting path for new programmers.

Page 5 of 9 (85 posts)