News for hackers. Stuff that matters.
Re:DRY Is a Trade-Off by gregmac on Friday December 18, 2020 @09:35PM (#25474476)
Some of the highest value-to-effort feedback I've both given and received in a PR is about naming. Whenever I see something where my first impulse is to react with "WTF?!?" I now try to ask myself "does something here just have a bad name?" and much of the time that's all it is.
Re:DRY Is a Trade-Off by hanniabu on Friday December 18, 2020 @11:30PM (#25475042)
I was working on a financial trading program at one point, specifically a function to filter orders into bids and asks. They named the order value "total" and the order size "sum".

It made a really simple function incredibly difficult to read.