I only had a problem with it once, but having no experience with it really confused me.
I was mounting a directory to a docker container and i kept getting permission errors. The errors were not descriptive at all and really confused me as i already had sudo privileges and wasn’t expecting any problems with permission.
It’s like saying
list.isEmpty()
overlist.getLength() == 0
is a picky optimisation.There’s a developer out there who coded this and they obviously don’t know what they’re doing. One day they’re gonna iterate all rows in the database to check if it’s empty. You have to flag these issues early and teach the newbies.