28 karma · joined Apr 17, 2015 (11y ago) · 158 submissions
comment 11y ago · link · parent
So what, in the above "wall of text", is wrong about
Scala or Kotlin?
Maybe just check the responses from the last fifteen dozen times? It's not that hard. You're not telling what was incorrect, just that the
author is _always_ incorrect, which strikes me as
hyperbole.
I'm not telling anything. The Scala and Ceylon designers did. They probably know better than me, or him.comment 11y ago · link · parent
Different bugs on different platforms are like an early Christmas present:
You don't even need to write tests which include your "expectations" of the result anymore.
Just call the code with randomized inputs for both platforms, and if there is a difference, you found a bug.
comment 11y ago · link · parent
It feels like they are digging through Scala's graveyard of discarded ideas without even realizing it. Most of what they try to do differently has already been considered in the past and has been rejected by the Scala developers for good reasons – years ago.
Kotlin's struggles are a good example that knowing how to build IDE support for existing languages doesn't give you the skills to design a programming language from scratch.
The Kotlin designers specifically call out Scala's
mistakes when discussing why they do things differently.
Yes, I have to give them that. They (and their "fans") excel at PR, marketing and FUD.comment 11y ago · link · parent
The thing is that Scala tried to do that for years, and after years of battling subtle, leaky abstractions, they picked a different design.
It feels like Kotlin designers are completely unaware of what other languages tried and keep repeating all the mistakes ...
comment 11y ago · link · parent
Your last point is not the only thing that matters though. If the runtime already ships with packages X, there is no point in shipping your own implementation.
(Which is exactly what Scala/Scala.js does with math stuff: it reuses BigInteger from the runtime on the JVM, but ships its own implementation with Scala.js.)
comment 11y ago · link · parent
javax.time is considered by some to be one of the best, most well-designed general and versatile libraries for date and time related matters out there, regardless in any language.
How would things be improved by throwing that away, and inventing something different? I think keeping the API and providing an implementation for Scala.js is a much more reasonable approach.
Designing a date/time requires very rare skills and knowledge that most people lack. A re-implementation of javax.time means all the documentation, tests and existing code can be re-used and allow correctness checks against the existing implementation.
comment 11y ago · link · parent
a) It's not a free market. Especially in cases with life-threatening diseases a person can't just "walk away from a deal", that would be suicide for that person.
b) Entities banding together to negotiate a better price? Boohoohoo how unfair. Welcome to capitalism. Oh wait, if the entity were for-profit companies all would be fine, right? It's only bad when citizens band together.
Is it so hard to accept that in all other civilized countries health care works better and at a more reasonable cost?
Get your shit together, Americans.
comment 11y ago · link · parent
Their chance of success doesn't depend on R&D.
God, some Americans are really cringe-worthy. Is it really necessary to get defensive just because other governments are more interested in representing the interests of their people?