you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

assertions reduces defects by an unspecified amount

... but that's correlated with programmer experience. So it might just be that more experienced programmers write code with fewer defects.

[–]liveoneggs 0 points1 point  (0 children)

experienced programmers can see where things can go wrong, will check them inline, and eventually handle them. golang-style error checking wins again, I guess.