4 ms·
> I get why it's being done that way, but the bit about parameter names being allowed to vary in subclasses feels... non-great. As justified, it feels necessar
by masklinn 6y ago
> I get why it's being done that way, but the bit about parameter names being allowed to vary in subclasses feels... non-great.
As justified, it feels necessary for backwards-compatibility reasons since named arguments are not defined as named, just used as such.
- zerocrates 6y agoStill feels like a "strict warning" situation. Again, I can see why they have to do it that way because this was just not previously part of the public interface to a function, but it is now, so there should be some indication that doing this name mixing is, in fact, Now A Problem. I guess it can just be handled on a static analysis/code-checker kind of level, but the language already has a system for emitting these kind of "code standards" warnings.