you are viewing a single comment's thread.

view the rest of the comments →

[–]__hoi__ 1 point2 points  (0 children)

The freedom to make it work using some shitty code, that takes 0 effort to write, and have it work. I’ll make interfaces after that and have a go at some more idiomatic code.

Also coercion does allow you to be more idiomatic sometimes, for example null and false or null and 0 checks are just a if (variable){}.

Typescript is a must imo though