[Oberon] Unreferenced/unused code in Project Oberon 2013
Jörg Straube
joerg.straube at iaeth.ch
Sun Apr 28 00:03:46 CEST 2019
I proposed some (other) changes to the system but NW told me lately that his aim is to keep the interface of the modules as stable and untouched as possible.
I could imagine that this was the reason why he didn’t remove ExtendDisplay. But I agree, he could have commented out the procedure body.
br
Jörg
> Am 27.04.2019 um 22:42 schrieb Michael Schierl <schierlm at gmx.de>:
>
> Hello,
>
>
> I used some scripts to identify unreferenced code (after stumbling upon
> some unused variables in TextFrames), and was surprised how much code I
> could remove without affecting the system at all... (I also removed
> System.ExtendDisplay, as that one is of no use in Project Oberon, but
> apart from that I tried not to remove any command procedures.)
>
> Does anyone know if that code is there to be useful in the future, or
> did Prof. Wirth just not yet find the time to finish his software
> (which, if I recall correctly, is not finished when there is nothing
> left to add, but nothing left to take away)?
>
> Here is a diff:
> https://github.com/schierlm/OberonXref/blob/remove-unreferenced-code/remove-unreferenced-code.patch
>
> And here is a side-to-side view:
> https://github.com/schierlm/OberonXref/commit/e49dddb57d076ef6a256496949d15a143c0e017d
>
>
> Regards,
>
>
> Michael
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon
More information about the Oberon
mailing list