Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Cool idea! Actually, you could probably call this extra argument "this".


  void do(withThis, that) {
    that(withThis)
  }
Why be implicit with anything, when you can provide nice headscratchers for the next clown! ;-)

Seriosuly though, most OO-languages brings not much to the table other than being "OO-centric" (methods+data vs procedures|functions). OO without encapsulation of data and implementation though, may even be worse abuse than no OO. So one can by convention even do OO without direct support for it in the language itself, by using any form of indirection that encapsulates data and implementation. REST typically fails this, because it often exposes direct access to internal resources (CRUD).




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

Search: