Email or username:

Password:

Forgot your password?
Top-level
Gregory

@svenjacobs it's a common fallacy to believe that "less code = better". Less code means more cryptic code, usually. Harder to read, understand, and debug.

I simply like Java more. Modern Java. Lately, it introduces some of the same concepts that exist in Kotlin, but does so much more thoughtfully and such that they're easy to understand even if you don't know them beforehand. Like switch expressions or records or pattern-matching instanceof. And no forced null-safety nonsense, ever.

1 comment
Sven Jacobs :androidHead:

@grishka Less code doesn't necessarily mean more cryptic code. Less code can also mean less boiler plate code, which makes code harder to read and understand.

Why should

final SomeObj someObj = SomeObj()

be better than

val someObj = SomeObj()

Yes I know that Java has modern features and syntax, too, which some of them can be used for Android development. But I guess we could argue for hours, so just let's agree to disagree 😉

Go Up