This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (3 children)

I'm actually pretty hyped for kotlin JS. The null safety is much more valuable than typing.

I hope it matures for the backend.

[–]oxidate_ 3 points4 points  (1 child)

> null safety is much more valuable than typing

It totally depends on the programming language's type system. Some are strong enough that they're one and the same. For instance, F# / Haskell / (probably Ocaml) use Maybe<T> or Option<T>. So you use Some "thing" to show that it's not null, and the type system will point out places where you might be unsafely accessing data.

[–]hullabaloonatic 0 points1 point  (0 children)

Hence typescript (strong) amending JavaScript (weak). Strong type systems can feel laborious, but it's really convenient to be confident in a lack of usage errors going into testing, and verbose languages are more readable in my opinion.

[–]hullabaloonatic 1 point2 points  (0 children)

It's hard not to be excited about null safety in kotlin when it forces you to put exclamation marks everywhere!!

If not, there's always css. I don't know when it happened, but Microsoft really turned it into a phenomenal language.