News for hackers. Stuff that matters.
Re:If you're just going to sit there doing nothing, at least... by wvenable on Friday February 16, 2024 @06:08PM (#39404253)
> I've learned this as "swallowing errors" and IMO it's a poor practice

This is not swallowing errors. This, in the Linux parlance, is not breaking user-space.

There are two ways to handle the situation presented: error out because the machine can never have printers or return an empty list of printers because the machine can never have printers. They're both valid but only one of them doesn't break user-space.

There are no comments on this comment yet.