News for hackers. Stuff that matters.
Re:Why I Don’t Regret Moving Our Android App to Scala by bearforcenine on Wednesday July 12, 2017 @09:19PM (#14758105)
Seems like you could make the same argument about modern C++ or other kitchen sink languages - lots of features, lots of ways to write unreadable code.

I've worked in Scala for the last 3 years and I've found implicits to be the biggest issue. They're hard to debug, it's not easy to tell which implicits are in scope. Things like that.

Being clever is a problem with the developer and not the language. Scala code is dense, sure, but that's not inherently a bad thing.

Re:Why I Don’t Regret Moving Our Android App to Scala by eropple on Wednesday July 12, 2017 @09:29PM (#14758129)
I would also say that most people should not write C++. To be clear, I like (Modern) C++ a great deal. I also like Scala a great deal. I don't think most programmers should write it.
Re:Why I Don’t Regret Moving Our Android App to Scala by pjmlp on Thursday July 13, 2017 @02:42AM (#14759222)
I also like C++ a lot, but in what concerns the current OS trends from Apple, Google and Microsoft, even Qt Company, it appears its use is being shifted down the OS layers to pushing pixels, audio frames and driver data around.

With everything else built on top of it with safer languages.

This is quite clear with the set of APIs that are being made available to C++ on those OSes.

Re:Why I Don’t Regret Moving Our Android App to Scala by kirse on Thursday July 13, 2017 @12:11AM (#14758634)
Yea, implicits were definitely confusing at first. That and picking a thread pool required a lot of reading. There seemed to be some other outset issues like "avoid this seemingly innocuous operation since it actually has a huge perf hit", but those usually manifest quickly and get eliminated with any sort of application tuning.