I read about vsfstream when skipping through the phpunit docs. Back then, I decided I don't need a virtual file system. Some time later, I had to test classes which read and write files and found myself creating and deleting temporary folders, messing around with nasty errors (like my favourite one where for some reasons tests fail when I don't use @runTestsInSeparateProcesses).
A blog on #symfony2, working at a #startup and #testing your code
This blog is read-only. See my new blog at http://sgoettschkes.me
Freitag, 23. März 2012
Dienstag, 6. März 2012
Clean Code #3: Beware optimization
This time I want to talk about optimization and what Clean Code Developers has to say about it. It relates to the KISS principle I talked about last time!
There are two rules which apply when thinking about optimization:
There are two rules which apply when thinking about optimization:
- Do not optimize
- No really, do not optimize
Abonnieren
Posts (Atom)