On Thursday, November 4, 2021 at 10:05:26 AM UTC-4 Edward K. Ream wrote:

> ... Without sections, the scan_lines would be too big to understand.  
> Alas, splitting scan_lines into methods would slow down Leo's read code.
>
 
But is this really the case, or is this a case of premature optimization?  
Maybe the extra time for method calls would be a minor part of the whole 
time.

Even if methods would work here, it doesn't mean I would be happy with 
giving up sections, though.  I often use them as a kind of pseudo-code to 
make the code more clear.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/9e6ffc12-16f0-4ae6-abbd-94615868f31dn%40googlegroups.com.

Reply via email to