Hacker News new | ask | show | jobs
by benatkin 5491 days ago
I'm mildly annoyed when I see parts of a portmanteau capitalized. It's wormhole, not worm hole, so the CamelCase would be Wormhole, not WormHole.

A really neat idea, though!

2 comments

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.

Yes and that's certainly the jQuery plugin convention too. It should be $(".foo").wormhole().
Also, the title of this post should read "jQuery," not "JQuery."
Except the first letter of a post on HN is automatically capitalized for you.
Good catch. Also I just realized that I was wrong in calling wormhole a portmanteau. It's actually a compound word.