top | item 36986116

(no title)

bqm | 2 years ago

Someone once told me: "optimize code for reading. In most companies, a piece of code is read 10x more than it is updated".

Usually, when you do that, you end up with simple logic and potential repetitions over complicated abstractions.

discuss

order

sweezyjeezy|2 years ago

As a corollary, quite often in code there is a 'happy path', or small set of operations that people are going to be using 90% of the time. That code is going to get read even more, so make it as high quality and as simple as possible, don't mess with it unless you're very sure...