Hacker News new | comments | show | ask | jobs | submit login

I think using some sort of construct that topicallizes the object is a good middle ground between the two.

For example this Perl 6 code:

  with turtle {     # store in topic variable $_ (if it's defined)

    .rotate(90);    # implicit method call on $_
    .pen_down();
    .forward(5);

  }



Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: