TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Kotlin: statically typed programming language that compiles to JVM & JavaScript

46 点作者 amarsahinovic超过 12 年前

9 条评论

dysoco超过 12 年前
I don't know why would I want to use this and not Scala. Sure, Scala might have some complexity, but it's easy to learn and for me it's as productive as Python.<p>I found this comparision: <a href="http://confluence.jetbrains.net/display/Kotlin/Comparison+to+Scala" rel="nofollow">http://confluence.jetbrains.net/display/Kotlin/Comparison+to...</a> so basically Kotlin seems to be a "watered" Scala.
评论 #4983664 未加载
评论 #4984066 未加载
评论 #4983902 未加载
factorialboy超过 12 年前
The obviously emphasis here with Kotlin is that you can also compile it to JavaScript. Which may be a smart move for Kotlin.<p>One reason why I chose Node.js over Scala for my current personal projects is that I prefer programming in the same language on the client and server.<p>That being said I've never used Kotlin and can't compare it with Scala, which I have used for my personal and commercial projects.
评论 #4983654 未加载
desireco42超过 12 年前
Doesn't look like something I would like to write me code in frankly. It does say it is for 'industrial' application whatever that means. I would think this would be for robots, but then why javascript?<p>Obviously I am not target group.
gte910h超过 12 年前
If this isn't a scientific targeted language, you should change that to "byte code" or better yet, "bytecode"<p>Code is a mass noun when talking to the computer profession.<p>The science professions still use the (now thought by the computer professions to be archaic) form "Codes"
yati超过 12 年前
I like this one! Superficially, the syntax looks like the marriage of Go and Scala.
karthikeleven超过 12 年前
or just wait for Java 8(coming in 2013); java 8 supposedly cuts down a lot verbosity and is sprinkled with functional programming features.
评论 #4985008 未加载
dotborg超过 12 年前
Language without proper IDE(Eclipse) support isn't worth much for me.<p>ps. i'm not cool enough to use notepad, vim etc.
评论 #4983530 未加载
评论 #4983843 未加载
martinced超过 12 年前
They're pretty honest by saying that the point of Kotlin is to drive IntelliJ IDEA sales (I did buy my licence 70% off during their doomsday special).<p>However it's a bit weird: they're creating a language that, basically, "needs" an IDE, so they can sell that IDE. I don't doubt they did put a lot of stuff in their language at which IDEA was good (e.g. @NotNull / @Nullable which IDEA was able to check in real-time on partial ASTs etc. which apparently made it into Kotlin right from the start).<p>I'm sure there's going to be quite some "refactor xxx to use pattern yyy", making IDEA "great" to work on Kotlin.<p>But are these really the features we want? A language that is "flawed" by design so that we can be sure we <i>need</i> an IDE to develop in it?<p>I'm still using IDEA and still doing some Java programming.<p>But I'm more and more investing time in Clojure / Emacs and, honestly, there's more pleasure to develop with these than with IDEA / Java. I don't know why IDEA / Kotlin would be any better.<p>To me it seems that, from the start, it's a language arguing for its own limitation.<p>P.S: what about concurrency? does it offer lock-free concurrency? Because there's no way I'm moving back to using explicit 'synchronized' keywords and having fun with deadlocks...
评论 #4984160 未加载
评论 #4984184 未加载
评论 #4984880 未加载
dfgdfgdfggf超过 12 年前
Sorry for this test :(