Monthly Archives: November 2012

About middle-test loops

Ordinary program loops can be cathegorized into the following two cathegories: pre-test loops and post-test loops. For example, in C++ for loops and while loops are pre-test loops, do-while loops are post-test loops. (It isn’t very hard to find out … Continue reading

Posted in Theory | Tagged , , ,

Another annoying mistake (ActionScript 3.0)

Debugging is not always a torture. It is when we have to beat a deadline and when eliminating bugs from a new product is matter of life and death, but when we have enough time and we are enthusiastic enough, … Continue reading

Posted in AS3 | Tagged , , ,

Approaches to optimize a small program (C++)

Imagine we have to work on the following problem (because it is our new assignment, our boss is obsessed with this problem, etc.): We have a text file that’s a few hundred megabytes long. We knows that this text contains … Continue reading

Posted in C++ | Tagged , , , , , , ,

My five most common programming mistakes in C++

I’m a junior programmer. Junior means I don’t have industrial experience, sad, but coding at home and working at a company are entirely different things. Strict deadlines, teamwork with a lots of smart guys, really big source codes and the … Continue reading

Posted in C++ | Tagged , , , ,