Home Tags Joy of Programming

Tag: Joy of Programming

Joy of Programming: How Debugging Can Result in Bugs!

1
We typically debug code to find and fix bugs. However, debugging itself can cause bugs. This is an interesting phenomenon that we cover in...

Joy of Programming: Levels of Exception Safety

2
The concept of "exception safety" is important for programming in the presence of exceptions. In this article, we'll look at different levels of exception...

Joy of Programming: The ‘Broken Window’ Theory

0
It is common to see software projects fail. One important cause is 'design and code rot'. In this article, let's try understanding the causes,...

Joy of Programming: Abort, Retry, Fail?

1
Exception handling is tricky to get right. In this column, I present some guidelines for writing good exception handling code, by giving real-world (counter)...

Joy of Programming: Bug Hunt

0
Every programmer knows that debugging is akin to a detective's work. In this column, we'll cover this "bug hunt" process with an example of...

Joy of Programming: SNAFU — Situation Normal, All Fouled Up!

0
The stories of software development projects in crisis are amazingly familiar to all experienced programmers and managers. In this column, we'll look at some...

Joy of Programming: Language Transition Bugs

2
There are subtle differences between languages like C, C++, Java and C#. Programmers transitioning from one language to another should beware of such differences. When...

Joy of Programming: Penny Wise and Pound Foolish!

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

Joy of Programming: Logical Bugs and Intuitive Thinking

0
Logical bugs are very common in code and are often very difficult to find and fix. In this column, we'll look at an example...

Joy of Programming: Types of Bugs

1
In this column, we'll look at four types of bugs, named after popular scientists. The classification is interesting -- we'll understand how strange bugs...