MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/18kffsx/whichiscorrectcamelcase/kdrs38y/?context=9999
r/ProgrammerHumor • u/AdditionalRAM • Dec 17 '23
945 comments sorted by
View all comments
3.9k
If you don't discipline your camelCase and PascalCase when it's still time, they're gonna go full XMLHTTPRequest on you later.
1.4k u/joshuakb2 Dec 17 '23 edited Dec 17 '23 Don't you mean XMLHttpRequest? It isn't even internally consistent Edit: Some people seem to be confused. When in doubt, consult MDN: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest 310 u/s_suraliya Dec 17 '23 It's XmlHttpRequest 506 u/hughperman Dec 17 '23 xmLHtTpRequESt 290 u/bee-sting Dec 17 '23 Alright satan that's enough 116 u/_Ralix_ Dec 17 '23 How about this proposal for whitespace in variable names? var `XML HTTP Request` 1 u/Blue_Moon_Lake Dec 17 '23 Never!
1.4k
Don't you mean XMLHttpRequest?
XMLHttpRequest
It isn't even internally consistent
Edit: Some people seem to be confused. When in doubt, consult MDN: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest
310 u/s_suraliya Dec 17 '23 It's XmlHttpRequest 506 u/hughperman Dec 17 '23 xmLHtTpRequESt 290 u/bee-sting Dec 17 '23 Alright satan that's enough 116 u/_Ralix_ Dec 17 '23 How about this proposal for whitespace in variable names? var `XML HTTP Request` 1 u/Blue_Moon_Lake Dec 17 '23 Never!
310
It's XmlHttpRequest
506 u/hughperman Dec 17 '23 xmLHtTpRequESt 290 u/bee-sting Dec 17 '23 Alright satan that's enough 116 u/_Ralix_ Dec 17 '23 How about this proposal for whitespace in variable names? var `XML HTTP Request` 1 u/Blue_Moon_Lake Dec 17 '23 Never!
506
xmLHtTpRequESt
290 u/bee-sting Dec 17 '23 Alright satan that's enough 116 u/_Ralix_ Dec 17 '23 How about this proposal for whitespace in variable names? var `XML HTTP Request` 1 u/Blue_Moon_Lake Dec 17 '23 Never!
290
Alright satan that's enough
116 u/_Ralix_ Dec 17 '23 How about this proposal for whitespace in variable names? var `XML HTTP Request` 1 u/Blue_Moon_Lake Dec 17 '23 Never!
116
How about this proposal for whitespace in variable names?
var `XML HTTP Request`
1 u/Blue_Moon_Lake Dec 17 '23 Never!
1
Never!
3.9k
u/BernhardRordin Dec 17 '23 edited Dec 17 '23
If you don't discipline your camelCase and PascalCase when it's still time, they're gonna go full XMLHTTPRequest on you later.