On Thursday, January 21, 2016 at 8:12:45 AM UTC-6, Edward K. Ream wrote:
>
> I recent rewrote the code for the match-brackets command, with an eye to 
> closing bug 127 Bracket matching is buggy 
> <https://github.com/leo-editor/leo-editor/issues/127>.
>

The g.MatchBrackets class contains all the new code.  Creating a separate 
class was important: it shields all the complexities from the rest of Leo 
and provides a "relaxed" environment for coding.  This 
shielding/encapsulation will be even more important as the code is heavily 
revised.

<rant>
It tragic (unbelievable) that the web is based on a language without 
classes.  Yes, coffeescript shows how to *simulate *classes, but why anyone 
would prefer to do without the real thing?

Javascript idioms (and syntax) are a form of code obfuscation. It's just a 
mess, regardless of the supposedly cool dynamical features of js objects.
</rant>

So the background of all the recent work is that I would like to use Leo to 
somehow make javascript programming more pleasant.  Perhaps by making it 
easier to use coffescript...

Edward

-- 
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