News for hackers. Stuff that matters.
Re:Naming Things Is Hard by drawkbox on Friday August 12, 2022 @10:10PM (#32446299)
Naming is so key to getting the right vibe for a feature/product/codebase.

This is a perfect encapsulation of the feeling when naming a variable: https://twitter.com/jenmsft/status/1381006038590099456?lang=...

Re:Naming Things Is Hard by btschaegg on Friday August 12, 2022 @10:52PM (#32446489)
The irony here: In my experience, if that's the face you make while naming a variable, you're probably good.

What always gets me is code written by someone who just goes "well, there's already `process`, so let's call this method `process2`".

Re:Naming Things Is Hard by karmakurtisaani on Saturday August 13, 2022 @02:39AM (#32447463)
Yeah that's infuriating. Clearly the proper naming is newProcess.
Re:Naming Things Is Hard by RedShift1 on Saturday August 13, 2022 @03:02AM (#32447560)
That's old new. New new is ReduxProcess.