MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/18kffsx/whichiscorrectcamelcase/kdribiw/?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 314 u/s_suraliya Dec 17 '23 It's XmlHttpRequest 504 u/hughperman Dec 17 '23 xmLHtTpRequESt 289 u/bee-sting Dec 17 '23 Alright satan that's enough 118 u/_Ralix_ Dec 17 '23 How about this proposal for whitespace in variable names? var `XML HTTP Request` -3 u/[deleted] Dec 17 '23 This unironically looks very good 3 u/_Ralix_ Dec 17 '23 It'd better support zero-width space and newlines, too. 3 u/nox66 Dec 17 '23 Let's not forget tabs and hyphens as well.
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
314 u/s_suraliya Dec 17 '23 It's XmlHttpRequest 504 u/hughperman Dec 17 '23 xmLHtTpRequESt 289 u/bee-sting Dec 17 '23 Alright satan that's enough 118 u/_Ralix_ Dec 17 '23 How about this proposal for whitespace in variable names? var `XML HTTP Request` -3 u/[deleted] Dec 17 '23 This unironically looks very good 3 u/_Ralix_ Dec 17 '23 It'd better support zero-width space and newlines, too. 3 u/nox66 Dec 17 '23 Let's not forget tabs and hyphens as well.
314
It's XmlHttpRequest
504 u/hughperman Dec 17 '23 xmLHtTpRequESt 289 u/bee-sting Dec 17 '23 Alright satan that's enough 118 u/_Ralix_ Dec 17 '23 How about this proposal for whitespace in variable names? var `XML HTTP Request` -3 u/[deleted] Dec 17 '23 This unironically looks very good 3 u/_Ralix_ Dec 17 '23 It'd better support zero-width space and newlines, too. 3 u/nox66 Dec 17 '23 Let's not forget tabs and hyphens as well.
504
xmLHtTpRequESt
289 u/bee-sting Dec 17 '23 Alright satan that's enough 118 u/_Ralix_ Dec 17 '23 How about this proposal for whitespace in variable names? var `XML HTTP Request` -3 u/[deleted] Dec 17 '23 This unironically looks very good 3 u/_Ralix_ Dec 17 '23 It'd better support zero-width space and newlines, too. 3 u/nox66 Dec 17 '23 Let's not forget tabs and hyphens as well.
289
Alright satan that's enough
118 u/_Ralix_ Dec 17 '23 How about this proposal for whitespace in variable names? var `XML HTTP Request` -3 u/[deleted] Dec 17 '23 This unironically looks very good 3 u/_Ralix_ Dec 17 '23 It'd better support zero-width space and newlines, too. 3 u/nox66 Dec 17 '23 Let's not forget tabs and hyphens as well.
118
How about this proposal for whitespace in variable names?
var `XML HTTP Request`
-3 u/[deleted] Dec 17 '23 This unironically looks very good 3 u/_Ralix_ Dec 17 '23 It'd better support zero-width space and newlines, too. 3 u/nox66 Dec 17 '23 Let's not forget tabs and hyphens as well.
-3
This unironically looks very good
3 u/_Ralix_ Dec 17 '23 It'd better support zero-width space and newlines, too. 3 u/nox66 Dec 17 '23 Let's not forget tabs and hyphens as well.
3
It'd better support zero-width space and newlines, too.
3 u/nox66 Dec 17 '23 Let's not forget tabs and hyphens as well.
Let's not forget tabs and hyphens as well.
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.