Ask HN: What is the best language/framework for rapid prototyping of web apps
What do you think is the best language/framework for rapid prototyping? Could you explain why?
According to common knowledge, the best frameworks and languages for this area are Python/Ruby with RoR/Django. However, I find myself quite uncomfortable with these technologies and like Java/Scala the most. Could you give any tips what I might be doing wrong?
17 comments
[ 3.1 ms ] story [ 38.6 ms ] threadI'm switching from java/scala to node.js/jade/coffeescript/express: I think it is really efficient for rapid development.
But, I believe the answer is that the "best" language/framework is the one you know better and are most proficient in.
[1] http://zeroturnaround.com/rebellabs/the-2014-decision-makers...
Maybe that's not true if you're a C programmer, but pretty much any other language has a fairly good, "just what's necessary" web framework.
If you're coming from a less popular language, your options might be limited, but I can't think of any even moderately mainstream language that doesn't have at least one decent option.
If you like Java/Scala, you might look into something like Spark.
http://sinatrarb.com
Python and JVM languages give you access to the widest range of high-quality libraries, esp in the data processing space, and having high-quality libraries that you didn't have to write is key for rapid prototyping.
Clojure REPL-driven development enables you to define and evaluate functions inline, and the immediate feedback makes development fly. Combine this with Clojure's lack-of-verbosity, first-class Java interop that gives you access to all Java's libs, and Clojure's concurrency model, and you have a toolset ideal for rapid development that doesn't sacrifice performance.
Pedestal (http://pedestal.io/) is the Clojure Web toolkit I would use -- it's designed/backed by Cognitect (http://cognitect.com), Rich Hickey's new company.
Anyway, if you already know Java and have some familiarity with that world, I can't recommend Groovy and Grails highly enough. Grails has been a tremendously productive environment for me, FWIW.
In order to be able to prototype quickly with ruby on rails, you need to learn how it works / what shortcuts there are / what gems can quickly give you functionality you want.
That said, use whatever works best for you! There is no one right answer.