4 ms·
Ah. I forgot about the "one right way" philosophy. But if there is no syntactic position where both are valid, then why not just add a return value to the exi
by CivBase 6y ago
Ah. I forgot about the "one right way" philosophy.
But if there is no syntactic position where both are valid, then why not just add a return value to the existing assignment operator? Surely that wouldn't cause any compatibility issues since prior to its introduction any attempt to use an assignment as part of an expression would raise a syntax error.