Better HN
topnewbestaskshowjobs
Log inSign up

smcj

11 karma · joined Aug 11, 2010 (16y ago) · 51 submissions

Submissions

comment 15y ago · link · parent

"I believe these figures are implausibly low - and an insult to IE users."

MISSION ACCOMPLISHED!

comment 15y ago · link · parent

Could you elaborate?

comment 15y ago · link · parent

Yes, sure. There is much less discrimination against "other" people on non-Apple platforms and that's great!

comment 15y ago · link · parent

This is a great and honest article and has changed the way I think about Apple users/developers.

Before that, I considered Apple users to be a group of gay douchebags, but today I have learned that there is at least a sane person on the other riverside.

(I have neither developed for any smartphone nor do I possess one, so no need for "Stupid FANDROID!1!")

comment 15y ago · link · parent

It is still painfully slow, right?

comment 15y ago · link · parent

You ignorance is so painful embarrassing, it almost hurts to read your non-sense.

comment 15y ago · link · parent

What's wrong with List.of(...)?

I think adding special syntax rules is a pretty bad idea.

comment 15y ago · link · parent

Oh god. Please no, collection literals are the worst idea ever. Making up special rules for some special classes in a language? What the fuck!?

comment 15y ago · link · parent

Mitigation would just have required to make an optimizer option non-default, like in 6.

comment 15y ago · link · parent

It is more like C/C++.

comment 15y ago · link · parent

Wrong.

comment 15y ago · link · parent

Just a few thoughts...

- Scala has function inlining, look at @inline.

- Module system: this looks extremely wonky, especially considering what Oracle is planning with Jigsaw

- Pattern matching is extremely hard to get right

- "No hybrid", "industrial", that seems to be a pure marketing move, considering that even 95% of the syntax is the same as in Scala, together with types like Unit, Any, ...

- Kotlin is pretty much in the same complexity level currently, without being nearly as clean and orthogonal as Scala.

My estimate is that as soon as someone writes more than a few hundreds of lines of code in Kotlin, things will break down, especially in the collections area, features get thrown in, complexity explodes.

If they want to have some primitive Java-like collection design, then maybe not. But judging from their comments they want to have a design with higher-order functions (like map, filter, flatten, flatMap, partition, ...), they will need higher-kinded types. The problem is that higher-kinded types don't work well with reified generics.

I know it is quite popular to bicker about the "complexity of Scala", mostly coming from people having visited the webpage for a few minutes and not from those people using Scala in industry daily.

> They mince no words in emphasizing that this is an OOP language.

Scala is as OO as Kotlin, no compromises here.

> "Scala's syntax more flexible (with its own caveats)"

Not really. Scala and Kotlin share almost the same syntax (apart from <> vs. [] for generics).

I really wonder ... Microsoft is constantly increasing the margin between their languages (C#/F#) and Java, while the Java community as a whole has nothing better to do than being a huge bickering load of "language experts" getting nothing done at all.

The question is: Should we really wait for yet another language like Gosu, Fantom, Ceylon, Kotlin, ... to be usable in 2020?

Or should we maybe just starting to use Scala, which is proven, mature and stable, has received tons of bugfixes over the last then years, has a complete language specification, runs on JVM, with work being done to let it run on the CLR and on the LLVM, with a JavaScript compiler in the works, with a huge useful and clean standard library, with tools to check if JAR files are binary compatible, with a great amount of third party libraries, ...

comment 15y ago · link · parent

Couldn't say it any better, thanks!

comment 15y ago · link · parent

The state of IDE support has pretty much changed since a year ago.

IntelliJ pretty much rocks, Eclipse is done by the Scala team itself (no idea about Netbeans, though). While Scala IDEs haven't reached the level of maturity or the wealth of features of Java IDEs, they have useful features even Java IDEs lack.

I guess the .NET port is mainly for people wanting to keep writing Scala regardless if they are targeting the JVM, the CLR, browsers with JavaScript/GWT or the LLVM.

12