forfengeligfaen

Joined 13 years ago

Karma
25
Submissions
20
Member since
Feb 13
View on Hacker News

Recent submissions

Comment · 7 years ago
"Activate the instrument landing system but recalibrate sea level minus 200 feet."
Comment · 8 years ago
Comment · 8 years ago
I've been using Kotlin with Android for over a year. There have been few problems with SDK interoperability. Since I started using Kotlin Google blessed it. The one annoying gotcha was JSON parsing. If the fields on your models are not declared as nullable, they can still be set to null in the JSON which causes a NPE.
Comment · 8 years ago
I found the transition from Java to Kotlin painless because Android Studio (Intellij) holds your hand all the way. If at first you're unsure of the syntax, you can just write code in Java and convert to Kotlin.

I agree that the null-safety Java interoperability does not work properly if the Java code is not annotated correctly (or you're parsing JSON) but I'd still prefer to have it than not.

I like Kotlin because: * If is an expression and it feels so clean * Functions are first-class (you can pass functions to functions) * Kotlin is less verbose than Java so there is less to read and write * You don't have to write "new" * Constructors are cleaner (you don't have to write (this.a = a) * The map function (on Android we were stuck on Java 7)

Comment · 9 years ago
This is not Hacker News material.
Comment · 10 years ago
Comment · 12 years ago
That's weird all the CCC videos were returning 404. The link appears to be working again now. It's a few days since I watched but I inferred that SSH may have some undisclosed vulnerabilities.
Comment · 12 years ago
Comment · 12 years ago
Comment · 12 years ago
Comment · 12 years ago
Comment · 12 years ago
Would wager that a copy of the Bitcoin blockchain outlives many banks.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton