It’s like saying list.isEmpty()
over list.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.
Who buys a toilet you can only flush with an app??