> Programs that use variable names that are all upper case and contain only the characters M, D, C, L, X, V and I will be affected by the new literals.
MIDI, MIC, MIX... I guess musicians didn't like this proposal :)
MIDI, MIC, MIX... I guess musicians didn't like this proposal :)
> Any literal composed entirely of M, D, C, L, X, V and I characters that does not follow this format will raise a syntax error, because explicit is better than implicit.
There isn't a standard for Roman numerals; you can largely do what you want. The Eighteenth Legion used XIIX.
But MIDI is obviously invalid by any standard.
You wouldn't expect to name a variable 15D5 would you?