Quote:
Originally Posted by Naethyn
[You must be logged in to view images. Log in or Register.]
Many software devs start by try catch blocking every line they write. Once you adhere to the principles of YAGNI (you ain’t gunna need it) you will find yourself writing more code that is better performance with less errors. Engineering is all about using the least amount of parts to achieve the maximum effect. Less dependencies means less chances at fault.
|
i can see that. i had considered doing the same thing ^^;, but noticed it conspicuously absent from virtually every code snippet in any question I looked up. it made me wonder what the real cost was, so i could weigh when to use it.