View Single Post
  #8  
Old 08-07-2018, 01:16 PM
maskedmelon maskedmelon is offline
Planar Protector

maskedmelon's Avatar

Join Date: Nov 2011
Location: not far from here
Posts: 5,793
Default

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.
__________________
<Millenial Snowfkake Utopia>