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

94 posts

Master Geek


#157089 19-Nov-2014 10:58

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
17942 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
1527 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
2455 posts

Uber Geek

ID Verified
Trusted
Lifetime subscriber

  #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

94 posts

Master Geek


#1179388 19-Nov-2014 11:38

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
1013 posts

Uber Geek

Lifetime subscriber

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

(AhOKNowIUnderstand:)

robocat

94 posts

Master Geek


  #1179398 19-Nov-2014 11:49

Sidestep: (AhOKNowIUnderstand:)


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

robocat

94 posts

Master Geek


  #1179405 19-Nov-2014 11:58

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).

 
 
 

Cloud spending continues to surge globally, but most organisations haven’t made the changes necessary to maximise the value and cost-efficiency benefits of their cloud investments. Download the whitepaper From Overspend to Advantage now.
Inphinity
2780 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
17942 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

94 posts

Master Geek


  #1179840 19-Nov-2014 21:41

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
3438 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

94 posts

Master Geek


  #1182923 25-Nov-2014 17:59

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 and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

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



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.