4 ms·
This origin story of XMLHttpRequest being an afterthought explains why the class name has inconsistent capitalization which interestingly enough I never noticed
by sdegutis 8y ago
This origin story of XMLHttpRequest being an afterthought explains why the class name has inconsistent capitalization which interestingly enough I never noticed until now.
- amyjess 8y agoMany style guides for CamelCase recommend not writing acronyms in all caps past a certain length. It's possible that Microsoft's style guide at the time set three characters as the limit.
- btilly 8y agoYou can find verification of it in the various references provided in https://stackoverflow.com/questions/12067185/why-is-it-called-xmlhttprequest https://stackoverflow.com/questions/12067185/why-is-it-calle.... In particular https://web.archive.org/web/20170424220609/http://www.alexhopmann.com/xmlhttp.htm https://web.archive.org/web/20170424220609/http://www.alexho... is a snapshot of an explanation from the person who actually created the feature.