inessential by Brent Simmons

Computer existentialism

Sometimes I’m surprised by method names.

- (BOOL)computersOtherThanThisComputerExist

Okay—it’s not filled in. How could you possibly answer such an existential question?

Well, luckily, we’re talking about computers, not people. And it’s just one line of code.

Here’s the answer:

return ([[self computersNamesOtherThanThisComputer] count] > 0);

(Yes, this is actual code that I wrote this evening. It’s part of syncing for NetNewsWire.)