Hacker News new | ask | show | jobs
by jessedhillon 5498 days ago
I was perplexed by the new method's name: isWormHole

To me, and I think everyone else who regularly uses OOP, method names are meant to be verbs -- this would be a predicate, testing whether or not the object is a wormhole.

1 comments

Yes and that's certainly the jQuery plugin convention too. It should be $(".foo").wormhole().