Hacker News new | ask | show | jobs
by yoshiokatsuneo 3322 days ago
derived from Swift is like Kotlin: https://github.com/Nilhcem/swift-is-like-kotlin
2 comments

I guess that the next one will be: "Kotlin is like Rust", or perhaps there should be "Kotlin is like Go" first?
Why not do "Kotlin is like PHP" or "Kotlin is like Visual Basic 6" immediately?
"Kotlin is like Java" would be pretty funny.
Could be fun.
You mean like Go is like Algol?

http://cowlark.com/2009-11-15-go/

Maybe the generalized version is simply:

"All these new languages with C-derived syntax and automatic memory management are pretty much the same -- so pick the one that is most supported on your target platform, get to work, and don't worry about it."

I'm kind of expecting someone to do a "Meta-Kotlin" next: a language that has the common intersection of features from Swift, Kotlin, C# and TypeScript, and offers tidy code generation for any of these.

Kotlin isn't much like Rust. A comparison to Go would be interesting, especially now Kotlin has coroutines.
> "Kotlin is like Go"

Curious how they would relate all the features Go lacks.

If I squint my eyes hard enough TypeScript looks like a LISP
maybe because it's javascript, which is borrows from scheme, which is a lisp?
let x = 1

const x = 1

val x = 1

var x = 2

It's unfortunate each language has a different keyword for constants and variables.