Private Names and Methods

Kevin Smith khs4473 at gmail.com
Thu Apr 5 12:48:45 PDT 2012


Hi Allen,

I completely agree with everything you wrote, and with the transformations
necessary to correctly perform the refactoring I'm talking about.

The transformation is still too low-level though.  In order to perform it,
we have to switch from thinking in terms of methods to functions and back
again.  It would be preferable if the mismatch weren't so great.

Would something like Dave's bind operator be applicable here?

    M1() {
      ...
      this::helperMethod();
      ...
    }


kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120405/f37f7d2f/attachment.html>


More information about the es-discuss mailing list