I'm impressed with Twitter and investigating to use Scala for a new large scale web project with Hibernate and Wicket. What do you think about Scala, and should I use it instead of Java?
EDIT: And, do you think Google's Noop, Fan or Scala can take the leadership from Java in the near future, which one have chance in your opinion?
Scala is highly recommended for beginners because of its easy learning. Scala was designed to solve problems that Java developers had with Scala. It has been a well-known language among developers for a long time.
Scala is worth learning in 2022. The demand for Scala developers is high, and the pay is good.
Scala has an exact syntax, eliminating boilerplate code. Programs written in Scala require less code than similar programs written in Java. It is both an object-oriented language and a functional language. This combination makes Scala the right choice for web development.
Before the luxurious, full-featured ecosystems and programming languages of today, things like Data Science used to be significantly different. One language that has been used a lot in the past and is still used today is Scala.
Don't forget that you can use it alongside Java. i.e. you can make use of compiled .classes and .jars within a Scala-scripted environment.
So you may want to encode the lower-levels of your solution in Java and then wrap these in Scala to provide a more flexible and agile solution (in terms of rewriting business logic at a higher level).
Something to consider is who else is going to look after this and maintain it. For all of Scala's hype, relatively few people can code in it (as of Nov 2009), and you may have to hire people in the future to look after it. Looking for Scala people will mean you're looking in a much smaller pool of candidates (some may want to learn Scala on the job, but there's still a start-up cost)
Here are the pros and cons of Scala relative to Java IMHO:
Pros:
In summary: You get a lot more functionality with a lot less code than Java
Cons:
I think Scala will be ready for major production use in 6-8 months, but I wouldn't bet my project on it today.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With