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

You'd be limited very quickly since Java does not have local methods. This would work for only very simple scripts that fit in a single method.


The context of this is entirely what is the lowest amount of ceremony that we need in order to reduce the teaching overhead of a java program. This really comes down to simple first up, with easy exits towards more complex. That very much looks like to me:

1. Single file single function imperative

2. Single file multi-function imperative (introduce multiple functions)

3. OO (introduce classes etc)




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

Search: