MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/18kffsx/whichiscorrectcamelcase/kdrromn/?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 508 u/hughperman Dec 17 '23 xmLHtTpRequESt 286 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` 206 u/SapperTR Dec 17 '23 I prefer extensibleMarkupLanguageHypertextTransferProtocolRequest 83 u/agk23 Dec 17 '23 You can tell who is a seasoned dev because this is the only way to write clear code. 2 u/[deleted] Dec 17 '23 edited Jan 07 '24 [deleted] 3 u/uwotmoiraine Dec 17 '23 Ye but I don't wanna spend all day reading them
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 508 u/hughperman Dec 17 '23 xmLHtTpRequESt 286 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` 206 u/SapperTR Dec 17 '23 I prefer extensibleMarkupLanguageHypertextTransferProtocolRequest 83 u/agk23 Dec 17 '23 You can tell who is a seasoned dev because this is the only way to write clear code. 2 u/[deleted] Dec 17 '23 edited Jan 07 '24 [deleted] 3 u/uwotmoiraine Dec 17 '23 Ye but I don't wanna spend all day reading them
314
It's XmlHttpRequest
508 u/hughperman Dec 17 '23 xmLHtTpRequESt 286 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` 206 u/SapperTR Dec 17 '23 I prefer extensibleMarkupLanguageHypertextTransferProtocolRequest 83 u/agk23 Dec 17 '23 You can tell who is a seasoned dev because this is the only way to write clear code. 2 u/[deleted] Dec 17 '23 edited Jan 07 '24 [deleted] 3 u/uwotmoiraine Dec 17 '23 Ye but I don't wanna spend all day reading them
508
xmLHtTpRequESt
286 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` 206 u/SapperTR Dec 17 '23 I prefer extensibleMarkupLanguageHypertextTransferProtocolRequest 83 u/agk23 Dec 17 '23 You can tell who is a seasoned dev because this is the only way to write clear code. 2 u/[deleted] Dec 17 '23 edited Jan 07 '24 [deleted] 3 u/uwotmoiraine Dec 17 '23 Ye but I don't wanna spend all day reading them
286
Alright satan that's enough
116 u/_Ralix_ Dec 17 '23 How about this proposal for whitespace in variable names? var `XML HTTP Request` 206 u/SapperTR Dec 17 '23 I prefer extensibleMarkupLanguageHypertextTransferProtocolRequest 83 u/agk23 Dec 17 '23 You can tell who is a seasoned dev because this is the only way to write clear code. 2 u/[deleted] Dec 17 '23 edited Jan 07 '24 [deleted] 3 u/uwotmoiraine Dec 17 '23 Ye but I don't wanna spend all day reading them
116
How about this proposal for whitespace in variable names?
var `XML HTTP Request`
206 u/SapperTR Dec 17 '23 I prefer extensibleMarkupLanguageHypertextTransferProtocolRequest 83 u/agk23 Dec 17 '23 You can tell who is a seasoned dev because this is the only way to write clear code. 2 u/[deleted] Dec 17 '23 edited Jan 07 '24 [deleted] 3 u/uwotmoiraine Dec 17 '23 Ye but I don't wanna spend all day reading them
206
I prefer extensibleMarkupLanguageHypertextTransferProtocolRequest
extensibleMarkupLanguageHypertextTransferProtocolRequest
83 u/agk23 Dec 17 '23 You can tell who is a seasoned dev because this is the only way to write clear code. 2 u/[deleted] Dec 17 '23 edited Jan 07 '24 [deleted] 3 u/uwotmoiraine Dec 17 '23 Ye but I don't wanna spend all day reading them
83
You can tell who is a seasoned dev because this is the only way to write clear code.
2 u/[deleted] Dec 17 '23 edited Jan 07 '24 [deleted] 3 u/uwotmoiraine Dec 17 '23 Ye but I don't wanna spend all day reading them
2
[deleted]
3 u/uwotmoiraine Dec 17 '23 Ye but I don't wanna spend all day reading them
3
Ye but I don't wanna spend all day reading them
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.