"software bug" tag
Fail Fast!

Joy of Programming: Fail Fast!

When a problem occurs in the software, it should fail immediately, in an easily noticeable way. This “fail fast” behaviour is desirable, and we’ll discuss this important concept in this column. At first,…

Time to program

Joy of Programming: Calling Virtual Functions from Constructors

Calling virtual functions from constructors is problematic, and this problem can manifest itself in many ways. In this column, we’ll take a look at this problem, with specific examples. Last year, I bought…

CodeSport

CodeSport (May 2011)

Welcome to CodeSport!  In this month’s column, we continue our discussion on memory access errors. In last month’s column, we had discussed a set of questions that could prove helpful to our student…

A bug in my insurance renewal notice

Joy of Programming: Penny Wise and Pound Foolish!

We often try to use a smaller data type to save space. Though it looks like clever programming, it can cause nasty bugs. Let’s look at an example that demonstrates this. A few…

All published articles are released under Creative Commons Attribution-NonCommercial 3.0 Unported License, unless otherwise noted.
Open Source For You is powered by WordPress, which gladly sits on top of a CentOS-based LEMP stack.

Creative Commons License.