Lurker News
The last two threads by the same name got a lot of attention (and a lot of love from patio), but seeing how its been over a year since then it would be interesting to hear from new people (HN userbase is ever growing) and also get updates from some people who posted in the previous threads.

Previous thread: https://news.ycombinator.com/item?id=4467603
Previous to Previous thread: https://news.ycombinator.com/item?id=2567487

Comments (430) 113 threads

Show all comments

Showing thread 68 of 113

llogiq#
Whenever I hear an evangelist (and I label everyone dealing in absolutes like 'is X worth it?' without at least asking 'what?' and 'for whom?' evangelist), my gut reaction is to dismiss everything without even reading it.

I work in an unconventional setting, where my code runs for a potetially long time and where failure means trying again. This has led me to use a lot of assert statements, both in a pre-/postcondition/invariant checking and in a more general assumption checking style. I still use unit tests, but only to exercise portions of the code quickly - the tests are often devoid of assertions.
I find that this style gives me the best test coverage + internal code documentation for the time invested.