El 14/07/2017 a las 12:20, Edward K. Ream escribió:
Imo, section references is clearly the very worst idea that the
usually-brilliant Donald Knuth ever had. They are wretched engineering:
I read somewhere that the purpose of section references was precisely to
have kinda "procedures" or "callbacks" in languages which do not have
such constructs, as HTML for example. So it is in fact a very clever
idea in that context! But I agree with you that it is of very few use
(except maybe for repetitive import code or similar) in languages like
Python.
As a result, I am gradually converting such evil sections into proper
methods. Doing so allows /encapsulated/ code improvements.
Yes please, let's do it as much as we can. The benefits are huge in all
ways.
Xavier
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.