On Tue, Oct 23, 2012 at 6:56 PM, Edward K. Ream <[email protected]> wrote:
> 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. > Thanks, I see. So, the section references should be use at xml or something lack of function. And I suppose, even in python imports, and class attributes, it shouldn't use section either. Because they are always short, to move them to section way need more work. Just leave them alone, and then followed by @other. > > 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. > > -- -- Sincerely, HaveF -- 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.
