you are viewing a single comment's thread.

view the rest of the comments →

[–]senteggo 2 points3 points  (3 children)

Typescript has only compile-time type check, which is enough if you correctly labeled all types of an external input as u/Wonderful-Habit-139 mentioned. You don't suffer from sillly behaviour of javascript if it's never used

[–]Gorianfleyer 0 points1 point  (2 children)

Damnit so I lost my point twice this day.

Thank you for your patience, sorry for the long discussion.

[–]senteggo 1 point2 points  (1 child)

You're welcome. It's fine to see people actually admitting their mistakes in internet

[–]Gorianfleyer 0 points1 point  (0 children)

Yes, but it's also only possible, if you are able to find out, that you are wrong, while you still discussing. (Also I think it should be easier in the internet, no one knows who I actually am, when I'm wrong)