I am glad I finally made up my mind and bought a personal license for CLion.
And just one day after CLion 1.1 came out.
A few episodes of CppCast had left me with some interesting sounding projects I had meant to take a look at.
I finally finished reading the “Cucumber book”. I started reading this book a while ago.
Even before I finished reading it I was already convinced of the benefits of human readable executable specifications and started lobbying for its use in a project at work. I succeeded (partially).
What this means is that we can write the tests in a human readable way. Natural language is used, with very few keywords mixed in the middle. (more…)
A while back I wrote a post about how to set the c++ standard with cmake.
I have since found this technique does not work as nicely as I would like with Visual Studio. (more…)
Back in 2012 I tweeted this:
Is there a c++/java dictionary? Stuff like this would make sense for teaching new languages to programmers. Languages do overlap a lot.
— ruipires (@ruipires) August 2, 2012
I could have tried doing it myself, but couldn’t find the time for it. This is a recurring problem of mine. I have new ideas faster than I can execute them.
It is a dictionary that shows you the similarities and differences of each language inside a “family”.
Lets hope they add the ability to mix and match what languages are shown side by side.
It would be harder to implement, but might prove a lot more useful, when trying to go to a language where you can do things the same way, but that is not the best way of doing them there.
I am thinking about something like showing Python and C++ side by side. If I use Python with a C++ mindset, things can certainly work, but they will not be optimal. It would be great if this could leverage my C++ knowledge, but show me how and where to be more Pythonic. The same ideia obviously applies to other language combinations.
It is generally a good idea to think about why you are doing things the way you currently doing them.
Sometimes you are faced with a new situation, and don’t quite know what the correct or best way to handle it is. Hopefully you don’t just do whatever happens to first pop into your mind. You take some time to think about it, and consider the pros and cons of each alternative.
In this post I’m going to talk about my opinion on doxygen (or javadoc) comments. (more…)
I have been using Vim and gVim for a few years now.
Vim has a steep learning curve (but there are great tutorials out there), but its worth it, as it is a very powerful text editor.
While it is not supposed to be an IDE, there are a lot of plugins out there that can make it get pretty close.
In this post I will share with you some of the configurations I use. Specifically, I will show you how I get gVim to look the way I like it. (more…)
The software engineering radio podcast has a very interesting interview with the Gang of Four members, from “Software Design Patterns” fame. It is roughly 75 minutes, but it is really nice seeing them comment on their book 20 years later.
Here is a transcript I did of a portion of the podcast that I found extremely interesting (validating of my point of view, actually), that I just had to write down and keep, so I could quickly use it as a way to avoid discussions about the recurring Singleton-as-global (anti?) pattern.