Regex C++ Regular Expression

Regex C++

Reading Time: 8 minutes Regular expressions (or regex in short) is a much-hated & underrated topic so far with Modern C++. But at the same time, correct use of regex can spare you writing many lines of code. If you have spent quite enough […]

std map C++

Using std::map Wisely With Modern C++

Reading Time: 8 minutes std::map and its siblings(std::multimap, std::unordered_map/multimap) used to be my favourite containers when I was doing competitive programming. In fact, I still like them(though using less frequently nowadays). And with Modern C++, we now have more reasons to use std::map. That’s […]

CRTP C++ Examples

CRTP C++ Examples

Reading Time: 10 minutes Curiously Recurring Template Pattern(CRTP) in C++ is definitely a powerful technique & static alternative to virtual functions. But at the same time, learning it may seem a bit weird at first. If you are like me who struggled to grasp […]

C++ Template | variadic template C++

Variadic Template C++: Implementing Unsophisticated Tuple

Reading Time: 8 minutes From C++11, std::tuple is an incredible expansion to Modern C++, that offers a fixed-size col­lec­tion of het­ero­ge­neous values. Un­for­tu­nately, tu­ples can be somewhat dubious to manage in a conventional fash­ion. But, subsequently released C++ stan­dard in­tro­duced a few fea­tures & […]

C++ Template | variadic template C++

C++ Template: A Quick UpToDate Look(C++11/14/17/20)

Reading Time: 18 minutes I know, it’s been a while since the last time I published something newbies-friendly on my blog. The main reason is that most of my readers are either experienced devs or from C background having modest C++ encounter. But while […]

watchdog-timer-WDT-block-diagram

Watchdog Timer(WDT) & Window Watchdog Timer(WWDT)

Reading Time: 5 minutes In the embedded systems/SoCs, Watchdog Timer(WDT) is the basic, subtle and essential circuit/ic. No matter, how good you write your firmware/software. There are always unexpected situations like your program may stick in an infinite loop, hung somewhere or hardware burn-out/failure. […]

What-is-Design-Pattern-C-Vishal-Chovatiya-Mind-Map-1536x861 compressed

What Is Design Pattern?

Reading Time: 7 minutes After hitting a certain level of experience & spending quite enough time in the industry, I have realised the importance of designing/architecting system & software. So I have started looking into system/software design & got to know nothing can better […]

Single-Responsibility-Principle-in-C-SOLID-as-a-Rock-vishal-chovatiya

Single Responsibility Principle in C++ | SOLID as a Rock

Reading Time: 4 minutes This article is the first part of a five-part series about SOLID as Rock design principle series. The SOLID design principles focus on developing software that is easy to maintainable, reusable & extendable. In this article, we will see an […]