Premshree Pillai ([info]premshree) wrote,
@ 2005-05-27 18:15:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Current music:The Kinks - You Really Got Me

No Conventions? You Suck.

The Mozilla folks seem to have the following convention: any abbreviation that begins with an ‘X’ shall have all its letters capitalized. However, abbreviations beginning with any other letter shall have only the first letter capitalized. That’s how we have XMLHttpRequest, I must guess.

The Greasemonkey folks were kinda smart: they decided that conventional wisdom has it that everybody treats xmlhttp as one awesome word—and so they have GM_xmlhttpRequest, I must guess.

If my guesses are wrong, maybe people just don’t care.

My wisdom says XmlHttpRequest. Are you wise?



(Post a new comment)


[info]bluesmoon
2005-05-27 02:08 pm UTC (link)
XML and HTTP are both abbrs so need to be capitalised.

It should be XMLHTTPRequest, but shiftkeyitis prevails and xmlhttprequest would be a good choice.

(Reply to this)(Thread)


[info]premshree
2005-05-27 10:19 pm UTC (link)
XML and HTTP are both abbrs so need to be capitalised.
Not necessarily. We could have a convention that says everything—whether an abbreviation or whatever—has only the first letter capitalized (or something like that).

What I was getting at was the lack of any convention.

(Reply to this)(Parent)


[info]prasun
2005-05-27 03:25 pm UTC (link)
I would vote for xml_http_request regardless of whether xml
and http are abbreviations or not.

(Reply to this)

Blame Microsoft
[info]drbrain
2005-05-27 06:27 pm UTC (link)
Since they came up with the name first.

(Reply to this)


[info]jonathanaquino
2005-05-28 04:58 am UTC (link)
I'm wise. XmlHttpRequest. Consistency.

(Reply to this)

So have you fallen in love yet?
(Anonymous)
2005-05-30 03:23 am UTC (link)
I meant, with Bangalore.
: )

(Reply to this)(Thread)

Re: So have you fallen in love yet?
[info]premshree
2005-05-30 03:35 am UTC (link)
Pray, tell me, how did you come to that conclusion?

Not that I really expect an answer, but you would be ...? :-|

(Reply to this)(Parent)(Thread)

Re: So have you fallen in love yet?
(Anonymous)
2005-05-30 03:41 am UTC (link)
The glorious, absolutely perfect weather. People just "have" to fall in love with Bangalore for it.

(Reply to this)(Parent)(Thread)

Re: So have you fallen in love yet?
[info]premshree
2005-05-30 03:47 am UTC (link)
Weather has been bloody awesome, yes. Loved the last few days.

(Reply to this)(Parent)


Create an Account
Forgot your login?
Login w/ OpenID
English • Español • Deutsch • Русский…