Hi all,
This week I’ll talk about people who strive to free themselves from memory management. Many have chosen to run away by relying on languages with garbage collectors. Some bravely try to brave through endless waves of memory errors and leakages.
However, once these low level memory issues get behind us, is that the end of memory management? Can we truly and completely abstain totally from memory management?
Let’s find out… Read the rest of this entry »
Dear all,
This week I’ll talk about some basic code design and object footprint that is generated by the code during compilation.
A lot of times, people take the object footprint for granted due to better hardware. But sometimes, when we take something already taken for granted, granted further, the whole project starts to fall apart.
Why? Read on…
Read the rest of this entry »
Dear all,
As you may know - when we build our C++ projects, chances are we don’t give a damned to compiler warning for some reasons or another.
That’s very normal even when you’ve set the warning level to level 4 or all in gcc.
This article describes a warning reported by VS2005 compiler cl version 14. It may not directly apply to those who are developing in gcc, iphones or any other compilers or platforms. But trust me, it’ll still help you more or less.
Why? Read on…. Read the rest of this entry »
Dear all,
Many a times we’ve seen such brackets being used in programming; whether it’s C++, Java or C#, you’ll see them lying around more than less. In fact, you might have been told to place a pair of brackets around every if-else statement even when they’re just a one liner for readability. (Sorry it doesn’t apply to C)
Therefore, some might think, that’s the only useful utilization for these brackets.
Well, these people are wrong. Why? Read on… Read the rest of this entry »
Dear all,
This week I’ll talk about a part of my experience gained from my current job. Basically, my consultancy experience has exposed me to many many things. Good, bad and ugly altogether.
One of the ugly things I’ve been exposed to is a defensive programmer.
Why are they ugly?
The answer is very simple. They don’t listen, they’re not open and they’ll try with every ounce of energy they have to thwart your recommendations.
To find out more, read on… Read the rest of this entry »