The Complete Magazine on Open Source

Home Posts Tagged "Joy of Programming" (Page 2)

Joy of Programming

,

Often, programmers confuse the scope, lifetime and visibility of variables. So I’ll cover these three important concepts in this month’s column. Whenever you declare …

Developers
4.41K 4
,

There are a wide range of static analysers available today — both commercial as well as open source. Have you ever wondered how static …

Developers
1.34K 1
,

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 …

,

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

,

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 …

,

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

,

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