Hi,
I am getting a bit annoyed with coldfusion right now, especially the case insensitivity.
I have been doing a lot of isomorphic JS, but with this current project I am knotting together JS frontend to CFML backend.
Creating a new cookie, automatically sets the cookiename in Uppercase.
Why would you do that? Why not let the developer decide the case. Now I have to make changes in my JS because Lucee (and Railo and ACFML) doesnt allow you to decide the casing.
Another occurrence where casing is an issue is when you create a struct and add a key with dot notation. The key will then be converted to uppercase too.
So:
var aStruct = {};
aStruct.someKey=1;
If you dump aStruct it will tell you its key is ASTRUCT=1.
Only when you define it like
aStruct[ 'someKey' ] = 1;
does it stay in the same form.
Is this something that is very hard to change?