> We tried to avoid these kinds of contextual blocks because they make reading 
> declarations in isolation much harder. That's one of the reasons we have 
> 'public'/'private' as per-decl modifiers rather than C++/ObjC-style grouping.
Imho that is no problem when the effect of the modifier isn't local.
In the case of final, it would only make a difference in a subclass, and no 
matter if that subclass is in the same module or in a different one, I don't 
see problems:
- If it's in the same module, the author most likely knows his own preference, 
so it's better to leave him the freedom of choice instead of forcing him to 
live with the global default.
- If it's in another module, there is the interface that is generated and has 
the information

Best regards,
Tino
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to