A tutorial to the use of the RAII idiom; a simple, eloquent and efficient way to deal with many situations where there is a risk of “leaking” memory or handles, failing to release file locks, etc.
Encore un exemple de code spaghetti : Toyota
/~colmmacc/ - An Irishman’s Fiery
"Code Reviews Are More Important Than TDD" Dr. Venkat Subramaniam Don't get me wrong: Test Driven Development is great and it helps with a lot of things: Good quality, maintainable functionality, repeatable tests and much more. We did a survey at conferences that showed us that around 70% of all developer teams are practicing some kind of…
I have a feeling too many people get it wrong so let me stress: I do enjoy jUnit a lot, thanks guys for sharing! Yet, I don’t like @Test(expected) feature of jUnit. In my TDD classes I simply teach to avoid using it. I admit the feature can potentially make few tests cleaner. However, it…