News for hackers. Stuff that matters.
Re:Absolute truths I unlearned as junior developer by ohaideredevs on Friday June 07, 2019 @01:38PM (#20126917)
>Do you never see code that has global side effects?

The answer for modern languages and frameworks is "write pure functions."

>Or that is written a particular way to take advantage of the hardware that it is running on?

Move to service/helper/utility class for that particular hardware or with a name that clarifies it's for that particular hardware.

I find comments to be necessary very rarely. Atm looking at a codebase where they are made to cover up for a lack of desire to think.

There are no comments on this comment yet.