(RSS Feed|Atom Feed)

OO++ (2009/02/14)

In 90% of all cases, the getter and setter paradigm is totally useless or mis-used.

A language that lacks namespaces like C will enforce carefully chosen names for functions and types. In C++ namespaces lead to ambiguity.

The combination of data and methods in classes is the major flaw of OO imho.

And don't use operator overloading. Period.

Static linking (2008/02/08)

Executing statically linked executables is much faster, because there are no expensive shared object lookups during exec().

Statically linked executables are portable, long lasting and fail safe to ABI changes -- they will run on the same architecture even in 10 years time.

Statically linked executables use less disk space, because they only link the very small portions of static libaries into the executable that are actually used.

Statically linked executables consume less memory because their binary size is smaller.

Dynamic linking has been invented to allow changing code during runtime -- don't forget that.