News for hackers. Stuff that matters.
Re:DRY Is a Trade-Off by bjohnson225 on Saturday December 19, 2020 @06:04AM (#25476652)
For maximum readability you want function names which are descriptive, but concise. My personal pet hate is when people make it concise by using acronyms and I’m just left wondering what the hell it stands for.

Personally, I find the ‘in_picture’ suffix superfluous as it’s clear from the input parameter what you’re finding the animal in, but otherwise find it a good name.

Re:DRY Is a Trade-Off by ericb on Saturday December 19, 2020 @06:23AM (#25476725)
> My personal pet hate is when people make it concise by using acronyms and I’m just left wondering what the hell it stands for.

I agree. I can find, and understand reducePermissionLevel, but reducePermLvl is unguessable, and not searchable because abbreviations are arbitrary. Never abbreviating provides a predictable scheme.