[Oberon] Life without local procedures

Diego Sardina dsar at eml.cc
Fri Feb 23 17:37:32 CET 2018


On Fri, Feb 23, 2018, at 2:23 PM, Andreas Pirklbauer wrote:
>   > Personal style: What I don't like with local procedures
>   > is the following: As the local procedure(s) sit between
>   > the variable declaration and the BEGIN, the local
>   > variable declarations are so far away from
>   > the BEGIN. I don't like to scroll…
>   > Jörg
> 
> 
> Agreed. And of course, if access to intermediate objects is
> allowed, it gets even worse - as one (potentially) needs to
> scroll to *all* intermediate levels as well. And that makes
> for a lot of scrolling (which only EO handles well ;-)
> 

Are you both serious? We have good IDEs for these problems
since '90s.

However if the procedure is big enough, the variable declaration
is far away from its use (and big procedures exist in real life).
Intermediate objects are not really the problem in this case.

This is a wrong example to bash against local procedures



More information about the Oberon mailing list