Browsing All posts tagged under »c programming«

Memento code comments

January 25, 2010


Code comments are equal to flossing: you need to floss regularly or else… But how should a developer approach writing comments? As a personal technique I associate code comments with memento. What does memento mean? Memento is the Latin imperative “Remember!” A memento is an object that serves the purpose to let us not forget […]

The volatile keyword

March 3, 2009


The volatile keyword is a feature of the C language that is not considered by new developers until they bang their head against an apparently correct code that doesn’t work, and they don’t understand why. I think it is important to know the existence of the keyword and the principles behind it in order to […]


Get every new post delivered to your Inbox.

Join 453 other followers