[Ur] last type decl wins?

Vag Vagoff vag.vagoff at gmail.com
Sat Apr 16 11:42:56 EDT 2011


> I think freedom to move definitions is bad for readability. It means that you can't understand a file incrementally by digesting each definition as it appears. Any definition may rely on another piece of code appearing arbitrarily later in the file, even if we measure distances in the AST rather than at the character level.

Your argument is OK but valid only for first reading of source code. For later work it is better to group definitions by some semantic
characteristics rather that by dependence.

Vag.



More information about the Ur mailing list