News for hackers. Stuff that matters.
Re:An Overwhelmingly Negative and Demoralizing Force by johnnyanmac on Tuesday April 08, 2025 @09:19PM (#43628023)
My experience in unmanaged legacy code bases. If it's an actual one liner than sure. Use your ternaries and closures. But there is some gnarly stuff done in some attempt to minimize lines of code. Most of us aren't in some competitive coding organization.

And I know it's intentional, but yes. Add some mindfulness to your implementation

Map["blah"] = fooIsTrue;

I do see your example in the wild sometimes. I've probably done it myself as well and never caught it.

There are no comments on this comment yet.