Alright, I don't think it will come as a surprise to anyone who has worked with JavaScript for more than a few seconds that there's a long held standard of using camel case for names. Particularly, method names. Just take a gander at the DOM. Ok?
So why is it then that I keep seeing JS libraries that use Pascal Case for method names?
Particularly annoying to me of late is the Virtual Earth API. Can't tell you how many times my fingers have typed something in camel case only to have it break as soon as I debug. Argh!
While I don't think all standards are golden, not following something simple like this is just stupid.
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5