Home
Sandor Dargo's Blog
Cancel

When to use const in C++? Part I: functions and local variables

Just make everything const that you can! That’s the bare minimum you could do for your compiler! This is a piece of advice, many senior developers tend to repeat to juniors, while so often even th...

Sharpen your axe and chop down the tree quickly

This is an excerpt from by book called The Seniority Trap. I’m sharing some parts from each chapter. Check out the #thesenioritytrap for more parts. Working hard is fine and sometimes you’ll ha...

Confessions of an addict: Just a few lines...

Just a few lines… That other night I was struggling. I felt an urge to write some code. I hadn’t written any during the day. Barely during the week. Am I a developer or what? How can it be that I ...

User-defined literals in C++

Last time we discussed strong types and in particular, strongly typed containers. We introduced the idea through a constructor that takes two integers and two boolean values and we saw how easy it ...

Strong types for containers

Once again we were practising Object Calisthenics during our weekly coding dojo. If you don’t know what it is about, I’d advise you to check out the rules. You might not want to apply all of them f...

DevReads to fill up your reading list

I’ve been running my personal blog since the end of 2016 and starting from mid-2017, I’ve been posting at least one article almost every week. My blog has not and does not have one single topic, I ...

Cmake Project Creator at your disposal

After Daily C++ Interview that I introduced in early September, let me share with you another project I have been working on for in my learning time for the last couple of months. Cmake Project Cre...

How to share data in Jenkins?

I’ve spent quite some time during the last two months on Jenkins pipelines and I had to solve an interesting problem that I’m going to share with you in this article. We perform regular source co...

Personality Isn't Permanent by Benjamin Hardy

Growth is not linear. Sometimes it seems like you grow little by little, every day a bit. Sometimes you hit plateaus and it feels like you can’t really achieve the levels you wanted. While other ti...

Happy International Programmers' Day

Dear Fellow Programmers, If there is one day in the year when we can stop a bit and reflect on the importance of our jobs, this is it. I strongly believe that all jobs, all work is valuable. I ne...