If the class name a is a abreviation in UPPER case like "CORS", the class name must still be in StudlyCaps like that:
class Cors
{
}
Below is the way of my preference, but i would to know if it is an anti-pattern:
class CORS
{
}
If the class name a is a abreviation in UPPER case like "CORS", the class name must still be in StudlyCaps like that:
class Cors
{
}
Below is the way of my preference, but i would to know if it is an anti-pattern:
class CORS
{
}
Copyright © 2021 Jogjafile Inc.
This is clearly stated:
There are no exceptions granted in either case.
CORS
is a constant,Cors
is a class. This is, by definition, an absolute requirement of the specification. If you want to adhere to a standard, you don't get to pick and choose which parts.