On Sat, Dec 6, 2014 at 8:57 AM, Kent Tenney <[email protected]> wrote:
> So, I did a bit of cleanup on a collection of Leo-related > code and pushed it to github. > https://github.com/ktenney/leolib > From leolib.leo: > The cool kids love functional Guido discusses functional programming at the 44 minute mark of his 2013 keynote: https://www.youtube.com/watch?v=EBRMq2Ioxsc I agree completely with them. This talk was (afaik) his latest comprehensive summary of his present thinking. It was what got me interested in static type checking. > and it certainly is easier to write tests for [functional programs] It's easy to write a "functional" unit test for any class and method: each unit test just creates a new instance of the class. This guarantees that state issues are manageable. Having state in classes is a *good* thing: it's why classes are so useful. 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 http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
