Hey CLion, quick: Catch!

Posted by on Sep 3, 2015 in c++, tools | 2 Comments
Hey CLion, quick: Catch!

 

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.

One of them was Catch, with its promise of low setup cost, compared to other testing frameworks. (more…)

Cucumber

Posted by on Aug 26, 2015 in Books | No Comments
Cucumber

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).

Cucumber is a ruby based test tool that focuses on automated acceptance tests.

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 Better way to ask cmake for a C++ standard

Posted by on May 5, 2015 in c++, cmake, tools | One Comment
A Better way to ask cmake for a C++ standard

A while back I wrote a post about how to set the c++ standard with cmake.

It revolved around setting the CXX_STANDARD and optionally CXX_STANDARD_REQUIRED properties.

I have since found this technique does not work as nicely as I would like with Visual Studio. (more…)

CppCast

Posted by on Apr 8, 2015 in c++, podcast | No Comments
CppCast

I listen to few technology oriented podcasts, but up until recently I was yet to find a podcast focusing on C++.
This has changed now that I found CppCast. Its tagline is “The first podcast by C++ developers for C++ developers!”.

(more…)

Hyperpolyglot

Posted by on Mar 30, 2015 in tools | No Comments
Hyperpolyglot

Back in 2012 I tweeted this:

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.

Now, I stumbled upon Hyperpolyglot (thank you lifehacker), that does more or less what I had thought of at the time.

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.

Biicode

Posted by on Mar 29, 2015 in c++, cmake, tools | 3 Comments
Biicode

I have been meaning to try biicode for a while now.

I have heard about it in blog posts, in podcasts, and I have been looking for a tool like that.

I have finally taken the time to try it, and have published my very first block. Go check it out!

(more…)

Unicode in C++

Posted by on Mar 25, 2015 in articles, c++ | No Comments
Unicode in C++

While looking for good resources to learn a little bit more about Unicode, and how to support it in my C++ applications, I stumbled upon this great video from the C++Now 2014 conference.

(more…)

my comments about redundant comments

Posted by on Feb 8, 2015 in rant | No Comments
my comments about redundant comments

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…)

My VIM configuration – part I

Posted by on Jan 30, 2015 in tools | No Comments
My VIM configuration – part I

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…)

Gang of Four interviewed 20 years later

Posted by on Jan 23, 2015 in Books, c++, interview | 3 Comments
Gang of Four interviewed 20 years later

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.

(more…)