Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


robocat

95 posts

Master Geek


#157089 19-Nov-2014 10:58
Send private message

Every time I see XMLHttpRequest it makes me a little ill.

"CamelCase" both acronyms (XmlHttpRequest) or neither (XMLHTTPRequest); what sort of stupid or evil people are responsible for allowing camels to be crossed with caps?!

Can we return the favour and make the "responsible" individuals ill for a while? Nothing too nasty: maybe give them a general malady for a few weeks? Or maybe get them moved into the management stream where they won't damage any more APIs. Dox them with the Pox.

All the reasons I can think someone might do this lead me to think they should be removed from an engineering position: they just didn't care; they were trolling; they didn't even think about it; they thought it was a good idea.

Any help appreciated.

PS: My favorite animals are camels; I wish no harm to them. They have a strange combination of being curious, goofy, obstreperous, and well designed.

Create new topic
Geektastic
14855 posts

Uber Geek

Trusted
Lifetime subscriber

  #1179382 19-Nov-2014 11:29
Send private message

If only I had even the faintest idea what you are talking about....!





BTR

BTR
1522 posts

Uber Geek


  #1179383 19-Nov-2014 11:30
Send private message

Geektastic: If only I had even the faintest idea what you are talking about....!


+1

 
 
 
 


MurrayM
1995 posts

Uber Geek


  #1179384 19-Nov-2014 11:34
Send private message

Every time I see XMLHttpRequest it makes me a little ill.

What a coincidence, I was thinking exactly the same thing a few days ago!

It seems totally bizarre and really grates with my sense of order.

robocat

95 posts

Master Geek


#1179388 19-Nov-2014 11:38
Send private message

Apparently this monstrosity was committed by Mozilla: http://programmers.stackexchange.com/questions/157375/why-does-xmlhttprequest-not-seem-to-follow-a-naming-convention#157378

PS: Please don't derail the thread railing against camelCase (or rallying for under_scores (or wondering why parentheses has odd spellling (or complaining about nested parentheses (or being disturbed by meta sentences (or whom mixing pogramatic punctuation styles with written english punctuation styles (or having issues with lisp(or those who can't count parenthesis (or evil people who mix round brackets and emoticons;-(or people that don't close their parens properly -- or mix their punctuation (or elliptic parethesis))))))) because I don't want to see someone bringing science into this conversation when opionion is what matters: https://whathecode.wordpress.com/2013/02/16/camelcase-vs-underscores-revisited/

PPS: HttpURLConnection... that is just evil - but I presume the developers have been heavily castigated by being sold to Oracle.

Sidestep
866 posts

Ultimate Geek

Lifetime subscriber

  #1179395 19-Nov-2014 11:43
Send private message

(AhOKNowIUnderstand:)

robocat

95 posts

Master Geek


  #1179398 19-Nov-2014 11:49
Send private message

Sidestep: (AhOKNowIUnderstand:)


If you can't be part of the sOlutiOn, be part Of the prOblem.

robocat

95 posts

Master Geek


  #1179405 19-Nov-2014 11:58
Send private message

BTR:
Geektastic: If only I had even the faintest idea what you are talking about....!


+1


--unary-plus-operator

?operant_overloader

Dsl?

I hate programmers being smart (ps programmers are).

 
 
 
 


Inphinity
2578 posts

Uber Geek


  #1179406 19-Nov-2014 12:00
Send private message

Geektastic: If only I had even the faintest idea what you are talking about....!


He's referring to the inconsistency of capitalisation in the name of the XMLHttpRequest object. XML and HTTP are both acronyms, yet the former is written fully in uppercase, and the latter in camel case. For consistency it should be either XmlHttpRequest, or XMLHTTPRequest.

Geektastic
14855 posts

Uber Geek

Trusted
Lifetime subscriber

  #1179496 19-Nov-2014 13:04
Send private message

Inphinity:
Geektastic: If only I had even the faintest idea what you are talking about....!


He's referring to the inconsistency of capitalisation in the name of the XMLHttpRequest object. XML and HTTP are both acronyms, yet the former is written fully in uppercase, and the latter in camel case. For consistency it should be either XmlHttpRequest, or XMLHTTPRequest.


Ah.

Well I suppose that makes some sense. Frankly it may as well be a treatise on the rise of the Russian state written in Swahili for all the sense it makes to me. I can't even understand BBCode.





robocat

95 posts

Master Geek


  #1179840 19-Nov-2014 21:41
Send private message

Geektastic: Well I suppose that makes some sense. Frankly it may as well be a treatise on the rise of the Russian state written in Swahili for all the sense it makes to me. I can't even understand BBCode.


Hot off the принтер, just for you.

bazzer
3316 posts

Uber Geek

Trusted

  #1182640 25-Nov-2014 10:36
Send private message

Inphinity: XML and HTTP are both acronyms

Or, more correctly, initialisms.

robocat

95 posts

Master Geek


  #1182923 25-Nov-2014 17:59
Send private message

bazzer:
Inphinity: XML and HTTP are both acronyms

Or, more correctly, initialisms.


How correct.

Also I just found:
 * StuDLyCAps http://en.wikipedia.org/wiki/Studly_caps
 * snake-case (or spinal-case!) http://en.wikipedia.org/wiki/Snake_case

A
fter getting annoyed by: document.webkitFullscreenEnabled versus document.webkitIsFullScreen - fullScreen versus fullscreen..... Arrrgggh.


Create new topic





News »

Huawei launches IdeaHub Pro in New Zealand
Posted 27-Oct-2020 16:41


Southland-based IT specialist providing virtual services worldwide
Posted 27-Oct-2020 15:55


NASA discovers water on sunlit surface of Moon
Posted 27-Oct-2020 08:30


Huawei introduces new features to Petal Search, Maps and Docs
Posted 26-Oct-2020 18:05


Nokia selected by NASA to build first ever cellular network on the Moon
Posted 21-Oct-2020 08:34


Nanoleaf enhances lighting line with launch of Triangles and Mini Triangles
Posted 17-Oct-2020 20:18


Synology unveils DS16211+
Posted 17-Oct-2020 20:12


Ingram Micro introduces FootfallCam to New Zealand channel
Posted 17-Oct-2020 20:06


Dropbox adopts Virtual First working policy
Posted 17-Oct-2020 19:47


OPPO announces Reno4 Series 5G line-up in NZ
Posted 16-Oct-2020 08:52


Microsoft Highway to a Hundred expands to Asia Pacific
Posted 14-Oct-2020 09:34


Spark turns on 5G in Auckland
Posted 14-Oct-2020 09:29


AMD Launches AMD Ryzen 5000 Series Desktop Processors
Posted 9-Oct-2020 10:13


Teletrac Navman launches integrated multi-camera solution for transport and logistics industry
Posted 8-Oct-2020 10:57


Farmside hits 10,000 RBI customers
Posted 7-Oct-2020 15:32









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.