Home
Sandor Dargo's Blog
Cancel

Virtual Trip Report: C++ On Sea 2020

Last week, I “went” to the C++ On Sea 2020, which was my second C++ conference, after CPPP 2019. I put went between quotes because as you might have guessed due to the Coronavirus, the organizers h...

Why should we always catch exceptions by reference?

Do you use exceptions in your code? Do you always catch the most generic one or do you write multiple catch blocks? Do you rethrow them or just swallow the exceptions right after they occur? Do you...

The big STL Algorithms tutorial: modifying sequence operations - turn things around

In this next part of the big STL algorithm tutorial, we will continue with two algorithms that help us to reverse the order of elements in a range: reverse reverse_copy Let’s get started! ...

Code: The Hidden Language of Computer Hardware and Software by Charles Petzold

If you have been reading my book reviews, you know that I like history. Recently I wrote about Sapiens and I quoted Churchill - you know the guy who pretty much led the fight against Nazis - saying...

Don’t Run From Pain, Embrace It

How many times have you thought, oh I will find a way to get out of the way of this problem? Just this time I promise! And then you gently stepped aside. Later you were looking with eyes open wide ...

Try-catch everything without macros

We all have our vices. One of mine is that I tend to jump in code reviews quickly, without considering how much time will be taken if I find something I don’t like. Recently I opened PR that serio...

Sapiens: A Brief History Of Humankind by Yuval Noah Harari

“A nation that forgets its history has no future” as Churchill said. Or going more broad, as John Kennedy wrote, “without history, we have no future.” Sapiens is not just about the recent times, b...

Occupying a seat vs. show me your skill!

I’m still not looking for a new job, and - given the circumstances - luckily I don’t even have to. Still, after having met some people and having received a couple of interesting propositions I rea...

The big STL Algorithms tutorial: modifying sequence operations - remove calls

In this next part of the big STL algorithm tutorial, we will discover the 4 modifying sequence algorithms that will help you removing elements from containers: remove remove_if remove_copy...

Functional Programming in C++ by Ivan Cukic

C++ is an Object-Oriented language, right? Well, it’d be better to say among others. It can be used as such, but in reality, it’s a multiparadigm language, suitable to use as a procedural, object-...