Live data from Hacker News

The Kotlin Language: 1.0 Beta Is Here

blog.jetbrains.com

31–40 of 102 posts

Re: The Kotlin Language: 1.0 Beta Is Here

#32
post #24

Earlier quoted context omitted.

Can't do much FP in Kotlin. Unless your definition of FP is programming with lambdas.

Which is mostly what used to be, 10 years ago. Closures, map, fold, etc. Before Haskell and Clojure like immutability and extra trimmings became fashionable... In 1995 or even 2000 era LISP discussions you rarely if ever see those other concerns about FP that hipster functional programmers bring forward today. (I guess it's also something that was helped by Moore's Law style speed development slowing down and the adv…

Quite right, back on those days FP was Smalltalk (yes really), Scheme, Common Lisp, Emacs Lisp, Caml Light (no OCaml yet), Standard ML and Miranda (no Haskell yet).

Which like you mention is where I point those hipsters to.

Then again, all new generations think they know best.

Re: The Kotlin Language: 1.0 Beta Is Here

#33
post #13

Looking at the syntax briefly it seems very similar to Scala. Is there any major differences between Scala and Kotlin?

There are many feature-level differences, but the biggest differences are in the approach, goals and philosophy[1]. When it comes to philosophy, Kotlin is a modern Java -- i.e. a "blue-collar" language[2], aiming to adopt only tried-and-true ideas and not to break new grounds. Scala is most certainly not blue-collar, serving as a basis for a few PhDs, and incorporates many ideas that haven't been tried in the industr…

You keep spreading your misinformed FUD about scala every time someone mentions it in a thread. Do you really continue to maintain the position that scala is not used successfully by large teams?

Re: The Kotlin Language: 1.0 Beta Is Here

#35
post #33
post #13

Earlier quoted context omitted.

There are many feature-level differences, but the biggest differences are in the approach, goals and philosophy[1]. When it comes to philosophy, Kotlin is a modern Java -- i.e. a "blue-collar" language[2], aiming to adopt only tried-and-true ideas and not to break new grounds. Scala is most certainly not blue-collar, serving as a basis for a few PhDs, and incorporates many ideas that haven't been tried in the industr…

You keep spreading your misinformed FUD about scala every time someone mentions it in a thread. Do you really continue to maintain the position that scala is not used successfully by large teams?

Are you responding to the right post? Because the post above yours doesn't say anything about that.

Re: The Kotlin Language: 1.0 Beta Is Here

#36
Kotlin seems to fill a niche comparable to TypeScript: a language that doesn't try to break new ground, but picks a bunch of tried-and-true ideas to fix severe problems in the underlying platform. Like TypeScript, I hope that it ends up being the right language, with the right compromises, at the right time.

Re: The Kotlin Language: 1.0 Beta Is Here

#39
post #28

Earlier quoted context omitted.

(disclaimer: I think Kotlin is cool) And non-lazy map/reduce/filter. Which I almost see as a deal-breaker.

Kotlin does have lazy map/reduce/filter: those are available through the Sequence interface.

It's very limited. Many of the functions you use when operating with collections also return lists, not sequences.

Re: The Kotlin Language: 1.0 Beta Is Here

#40
How is it better than Ceylon 1.2? Ceylon compiles to JVM bytecode, JavaScript, Dart, and will to LLVM in the future. As a language, it's a great superset of Java.

I posted [0] about the great new Ceylon 1.2 (which is backed by Red Hat), and nobody seemed to care, but there's so much hype about Kotlin - I don't get it!

[0] https://news.ycombinator.com/item?id=10474126

Post reply on HN