3 ms·
You're absolutely right. Assertions are so easy to use and there's no barrier to start using them. You can start small, one assertion at a time, no large refact
by hikarudo 7y ago
You're absolutely right. Assertions are so easy to use and there's no barrier to start using them. You can start small, one assertion at a time, no large refactorings required.
- tempguy9999 7y agoThanks for taking it constructively! For anyone reading this, I originally was taught assertions etc. at university but really got to use them after reading this ppt presentation by Tony Hoare (PDF here. Only took 1/2 hour to find, thanks for getting crappier, google). Really recommended! http://www.cs.cornell.edu/courses/cs2110/2014sp/assignments/a0/assertearlyassertoften.pdf http://www.cs.cornell.edu/courses/cs2110/2014sp/assignments/... Honestly, it's short, please everyone give this 10 minutes of your time. It was one of the main things that started my move from rando programmer to something closer to engineering practice. I just wish companies I worked for gave a damn for it.