3 ms·
>The fast development cycle -- edit php script, refresh -- is something amazing that you don't get in a lot of statically typed languages You seriously think t
by copergi 13y ago
>The fast development cycle -- edit php script, refresh -- is something amazing that you don't get in a lot of statically typed languages
You seriously think that? That's how we do haskell web development. Both yesod and snap do this out of the box. That's how every java developer I know works.
- bos 13y agoI have a little bit by way of Haskell chops, and I'll venture that the performance of the Hack typechecker is a very big deal, and it is in a different breed than the turnaround time you get from snap or yesod (or Java).
- copergi 13y ago"Type checking is faster than other statically typed languages" is quite different from "other statically typed languages don't offer this workflow", which is what was claimed.
- jfischoff 13y agowhat makes it a different breed? Edit: I misread what you wrote. I thought you were saying there was something fundamentally different about the type checker, but more that reload experience is different then what you get with Yesod.
- maaaats 13y agoHow do you do it in java? Compile (takes time) -> hotswap (takes time), or can't hotswap since changes to signature, will need to restart server (takes lot of time).
- copergi 13y agohttp://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin
- maaaats 13y agoYeah, that's the one we're using. Still takes a couple of seconds, though. And as I said, big changes can't be reloaded, so the whole server will have to be restarted.
- copergi 13y ago>Still takes a couple of seconds, though How big is your code base, and is it all in one huge file or something? Our stuff is reloaded and ready before I've alt+tabbed back and hit refresh.