3 ms·
Could be wrong, but constants are all UPPERCASE by convention in a few different languages, I think that's what that means. I don't think this would break anyth
by rajangdavis 10y ago
Could be wrong, but constants are all UPPERCASE by convention in a few different languages, I think that's what that means. I don't think this would break anything, I think it's supposed to make the code easier to read/nicer for handing off code to another developer. I don't use Python, but I have seen it in PHP, Ruby, and Javascript and they don't break there.
PHP handles encoding in a very naughty way. I don't know the origins behind this, I only know that it will produce text in the wrong format at times.
I have had issues where I would try to get some JSON with Japanese text and it will produce some janky unicode that doesn't work. There are work arounds for specifying encoding, but it's contingent upon what version of PHP you are using (I am stuck on 5.3.2 for a legacy, closed sourced app with a custom PHP binary).