Skip to content

Code Snippets

Welcome to my collection of code snippets — quick, practical examples gathered during my programming journey. These are small, reusable pieces of code across different languages and topics.

Python

  • Basics: variables, loops, conditionals, functions
  • Data structures: lists, dictionaries, sets
  • OOP: classes, inheritance, polymorphism
  • File I/O: working with JSON, CSV, plain text
  • Web & APIs: requests, scraping basics
  • Data tools: pandas, numpy, matplotlib
  • Utilities: handy scripts and automations

C

  • Syntax basics and control flow
  • Functions and pointers
  • Data structures and file handling
  • Algorithms: sorting, searching

Java

  • Core syntax and OOP
  • Collections and exception handling
  • File I/O and basic concurrency
  • Utility snippets for everyday use