​​
On Tue, Dec 6, 2016 at 9:25 AM, Edward K. Ream <[email protected]> wrote:

Furthermore, I want to leave c2py exactly as it was when I first wrote it.
> No docstrings, sub-optimal use of Python's string split/join functions,
> etc. Newbies take note: your first efforts don't have to be perfect.
>

​Heh.  The thing about posting is that the background mind immediately
starts to second guess it :-)

I *do* want to revise the code.  The old code can be retained somewhere for
reference, probably in the attic.  But revising this code would be
instructive:

- Python 3 compatibility.
- g.trace instead of print.
- Docstrings instead of @...@c.
- Use lines = s.splitlines(False) throughout, eliminating related cruft.
- @test instead of ad-hoc test code.

Not urgent, but it's been on my mind our discussion of s.splitlines and
s.isspace.

EKR

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to