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 »
Hi all,
This week I’ll talk about the benefits of using a reference counting pointer! Yeah, for once, it’s not just something to look out for.
If you’ve read the post title by now, you’d know that it has something to do with Access Violations. So what’s the relationship between reference counting pointer and access violations?
Read on… Read the rest of this entry »
Hi all,
This post talks about the developer dream which is a set of beautiful prophecies that they’ll try to fulfill when they work as a developer in a company.
A developer’s dream by nature is not a bad or evil one.
It’s the way the developer pursues the dream that makes it dangerous for the company.
How so? Read on… Read the rest of this entry »
Seminars! I’ve been to many, seen a lot of people, met up and got to know a lot of peopleĀ too.
However, some people are always so stuck up that they think that they’re the best of the world in their seminar.
Stupid… if they’re the best, they wouldn’t even NEED the seminar to promote their products. For that matter, the product would have sold by itself and the company won’t even need them!
What’s so rude about this guy I met? Read on… Read the rest of this entry »
Dear all,
I’m finally back from my holidays in Europe! Over these 2 weeks, I’ve been recalling some of the fatal incidents where people have died due to software (or suspected to be the case).
Of course I’m not referring to software such as games which indirectly educate their gamers to commit crime. I’m referring to software that developers have put their reputation on the line claiming that it’ll be safe to use only to escape practically unscathed when an incident occurs.
So, are developers nowadays taking on too much responsibilities? So much so that it’s beyond their capacity to even answer for it when things go wrong?
Let’s find out…. Read the rest of this entry »
Dear all,
Sorry but again, I’ll be away. This time it’ll be 2 weeks only and I’ll be back in October for more frustrated rants.
Sorry again and thanks for reading!
Regards,
Jeremy
Dear all,
I’m back!!! Today I’m going to share with you a hot topic! Can reference counting pointers EVER leak? The answer is of course, YES! For those who are doing Java or .NET and is under the beautiful illusion that your application is safe from leakage.
Well… think again!
Why? Because, leaks occur in many perspectives. As mentioned in my previous articles, there’re at least 4 types of memory leaks with normal pointers in C++.
But, does that mean that other languages are safe? Well… hell no! Read on to find out more…. Read the rest of this entry »
Dear all,
I’m taking a short hiatus for the following 4 weeks due to personal commitments as well as the articles themselves running out of steam. I haven’t been bottling things up enough for me to rant the way I used to and therefore perhaps it’s time for me to take a break for a while.
I’ll definitely return with more interesting articles and possibly more rants as well.
Many thanks for reading my articles!
Regards,
Jeremy