The Complete Magazine on Open Source

Home Articles Posted by S.G. Ganesh (Page 2)

The author works for Siemens (Corporate Technology). He is the author of the bestseller 'Cracking the C, C++ and Java Interview' published by Tata McGraw-Hill.

Posts by S.G. Ganesh

,

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
5.66K 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.82K 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 …

Developers
1.26K 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 …

,

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 …

Developers
1.03K 2
,

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

,

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 …

,

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 …

,

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