siddharthqs.comMastering Iterators: Comprehensive Insights You NeedIterators are a fundamental concept in programming that enable you to process a sequence of items, such as elements in a collection, one at a time, without revealing the collection's internal structure. They form the backbone of operations like loopi...Mar 23, 2025·19 min read
siddharthqs.comClosure: Lambda Functions of RustA closure is an anonymous function that can capture variables from its environment. At a high level, Rust closures allow you to write small, concise functions inline, without having to formally define a new fn with a name. They’re particularly handy ...Mar 7, 2025·11 min read
siddharthqs.comImmutabilityImmutability is a cool concept in programming that C++ questions with "why?" It means that once you create a variable or object, you can't change its state. This idea somewhat opposes object-oriented concepts, yet it's crucial for writing clean, main...Feb 4, 2025·3 min read
siddharthqs.comObject-Oriented Thinking in RustObject-oriented programming, also called OOP, is a programming style that is dependent on the concept of objects. It is very popular and established. It is like designing and organizing your code by thinking of parts of your program as real-world obj...Jan 20, 2025·16 min read
siddharthqs.comTraitsTraits are the most important topic to understand the design patterns in Rust. Traits are fundamental feature in Rust that provide a way for shared behavior, abstraction and polymorphish. You can think of traits as interfaces in other programming la...Nov 21, 2024·8 min read