Hacker News new | ask | show | jobs
by SkyMarshal 5160 days ago
> no time wasted waiting for compilation

Fwiw, this is less and a less a problem with static languages. In the Scala ecosystem, for example, on-the-fly compilation is available with Play, or any framework that uses SBT [1] (Lift, Scalatra, etc). Edit, save, and your edits (and only your edits) are automatically recompiled and reloaded.

> more boilerplate

Not sure about that. Lift at least (maybe Play too, not sure) is about the same lines of code as Rails, less if you include tests.

1. github.com/harrah/xsbt

2 comments

Interesting. I've never used Lift or Play -- thanks for the info.
Some info on on-the-fly compilation:

https://github.com/harrah/xsbt/wiki/Triggered-Execution

http://cookbook.liftweb.net/Developing+using+a+text+editor.h...

https://github.com/liftstack/lift24-s29-blank.g8#readme (still a work in progress, not debugged, but you can test the sbt "~ compile" continuous compilation directive)

Play supports dynamic compilation for Java as well.