News for hackers. Stuff that matters.
Re:Ask HN: Will front end development ever move away from Ja... by z3t4 on Sunday March 12, 2017 @04:03PM (#13852733)
i rarely think of types when writing JS. where something is not obvious, like i forgot if it returned a string or object i write an error that will throw if my expectations are wrong. i call them sanity checks. also where something is not obvious you want to rename it so it becomes obvious. so you kinda replace type annotations with better easier to understand names.
Re:Ask HN: Will front end development ever move away from Ja... by to3m on Sunday March 12, 2017 @11:11PM (#13854963)
Dude.