6 ms·
I've never enjoyed using Java. If you have time look at Scala (Scalatra/Play Framework) or Clojure (Ring). You can reduce the size of your codebase dramaticall
by mugenx86 13y ago
I've never enjoyed using Java.
If you have time look at Scala (Scalatra/Play Framework) or Clojure (Ring). You can reduce the size of your codebase dramatically.
- codenut 13y agoIve enjoyed writing code in scala, not until I compile it. It takes a long to compile. I agree with you, java is not enjoyable but we cannot deny the fact it still gets the job done.
- hrjet 13y agoThat used to be true earlier, but the compile times in Scala are pretty good these days. Also I hear that a faster compiler is expected with the 2.11 release. Incremental compilation in Eclipse is already real-time. But in general, IMO, compile times shouldn't be a major factor in choosing a language; expressiveness and run-times are more important.
- philbarr 13y ago> compile times shouldn't be a major factor in choosing a language Not sure about that, I'm using C# to write office plugins and it takes forever to start up each time. Often I forget what I'm supposed to be looking at by the time it's started.
- programminggeek 13y agoThat's only partially true. Compile times are absolutely a factor in development time for the same reason that how long your test suite takes to run is a factor. A faster feedback loop can shorten dev cycles. If nothing else, it's more fun to have faster compiles. This is one reason Go is so appealing to many people. The compile times make it "feel" like ruby or python or php in terms of "hit refresh and the change is there" style of development. That is a huge difference from, hit save and wait a minute for my java project to compile, and push out to tomcat a minute later. Even with JRebel the best I've seen is a 2-5 second page change refresh cycle in Scala and a minimum 5 second test suite reload time using SBT. Scala is a beautiful language, but compared to Go, it's a very slow dev cycle.
- spacebe4time 13y agoPlay! is hardly a micro framework. Play is fun until you try using its JSON library. I think I've been scarred for life.