On Sun, Oct 21, 2012 at 11:01 PM, HaveF <[email protected]> wrote:
> http://webpages.charter.net/edreamleo/intro.html#id8
>
> it is clear that the section should be used in python imports, and class 
> attributes. Are there other situations that we should use section?

Section references are usually bad style, except for languages like
xml and xml that lack anything like functions.

In the early days, I used section references in place of Python (or C)
functions.  Such references have almost completely disappeared.

They are bad style because they don't encapsulate code properly.
Functions are much better:  their signature clearly indicates which
variables must be passed to the function.  This information is
completely lacking with section references.  It's a fatal flaw.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to