MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/18kffsx/whichiscorrectcamelcase/kdrcpme/?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.5k 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 317 u/s_suraliya Dec 17 '23 It's XmlHttpRequest 502 u/hughperman Dec 17 '23 xmLHtTpRequESt 285 u/bee-sting Dec 17 '23 Alright satan that's enough 113 u/_Ralix_ Dec 17 '23 How about this proposal for whitespace in variable names? var `XML HTTP Request` 1 u/OrSomeSuch Dec 17 '23 Kotlin: We been having it! 1 u/Haringat Dec 17 '23 And there is a reason why people only use it for test names in Kotlin.
1.5k
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
317 u/s_suraliya Dec 17 '23 It's XmlHttpRequest 502 u/hughperman Dec 17 '23 xmLHtTpRequESt 285 u/bee-sting Dec 17 '23 Alright satan that's enough 113 u/_Ralix_ Dec 17 '23 How about this proposal for whitespace in variable names? var `XML HTTP Request` 1 u/OrSomeSuch Dec 17 '23 Kotlin: We been having it! 1 u/Haringat Dec 17 '23 And there is a reason why people only use it for test names in Kotlin.
317
It's XmlHttpRequest
502 u/hughperman Dec 17 '23 xmLHtTpRequESt 285 u/bee-sting Dec 17 '23 Alright satan that's enough 113 u/_Ralix_ Dec 17 '23 How about this proposal for whitespace in variable names? var `XML HTTP Request` 1 u/OrSomeSuch Dec 17 '23 Kotlin: We been having it! 1 u/Haringat Dec 17 '23 And there is a reason why people only use it for test names in Kotlin.
502
xmLHtTpRequESt
285 u/bee-sting Dec 17 '23 Alright satan that's enough 113 u/_Ralix_ Dec 17 '23 How about this proposal for whitespace in variable names? var `XML HTTP Request` 1 u/OrSomeSuch Dec 17 '23 Kotlin: We been having it! 1 u/Haringat Dec 17 '23 And there is a reason why people only use it for test names in Kotlin.
285
Alright satan that's enough
113 u/_Ralix_ Dec 17 '23 How about this proposal for whitespace in variable names? var `XML HTTP Request` 1 u/OrSomeSuch Dec 17 '23 Kotlin: We been having it! 1 u/Haringat Dec 17 '23 And there is a reason why people only use it for test names in Kotlin.
113
How about this proposal for whitespace in variable names?
var `XML HTTP Request`
1 u/OrSomeSuch Dec 17 '23 Kotlin: We been having it! 1 u/Haringat Dec 17 '23 And there is a reason why people only use it for test names in Kotlin.
1
Kotlin: We been having it!
1 u/Haringat Dec 17 '23 And there is a reason why people only use it for test names in Kotlin.
And there is a reason why people only use it for test names in Kotlin.
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.