[2024]Digital Global Overview Report 2024 Meltwater.pdf
Scala goods bads
1.
2. Implicits (BAD)
• Slow
• Make the code Complex
• It end up given developer opportunities to
couple things that should not be tight.
• You don`t need it todo Functional Programing.
3. Compilation Time / Build Time
(Very Bad)
• Very Slow
• If you don’t use modules SBT become a issue
• SBT still don`t have good integration with IDEs
• You need avoid features because of number of
classes scala created(It might get fixed with
java 8 because of lambdas).
4. Operator Overloading /
Dynamic @Interface (BAD)
• It`s a cool idea
• But everybody is using it now, become a mess
• You endup like: MAGIC words in Ruby
• Scala is not Ruby, its compiled, this is so wrong.
• Scala roots are on JVM and Haskell it don’t
make sense to my this dynamic lang stuff.
5. Parser Combinators /
Macros (Very Bad)
• Complex
• Hard to Understand / Bad Documentation
• The Code is very Ugly
• You don’t need it, there is betters ways
• There is no reason to do parsers by hand, use
framework like Jackson/XStrean.
• Macros? No Need as well. Overuse of compiler.
6. Performance(Good)
• Faster Than Java
• Optimized for the JVM
• Runtime very solid (thanks to Java)
• All Java eco-system ready to use
• Best language for the JVM now a days.
8. Scalability(Awesome)
• Actors Model
• Akka
• Future/Promises – Async Callbacks
• Reactiviness
• Use all great things in java: NoSQL DBs, Search
Engines, Rules Engines, Middleware Servers,
MOM, etc..
9. Wrapping up!
• You need avoid some features
• Scala is awesome for architecture
• Great for development but it need strong code
review practices and code policies.
• Once they fix the build times and Backward
Compatibility issues will be perfect