re: TypeScript is a waste of time. Change my mind. VIEW POST

TOP OF THREAD FULL DISCUSSION
re: The biggest benefit of using a statically typed language is runtime type checks. Sending data to a server and it throwing an error because you forg...
 

The biggest benefit of using a statically typed language is runtime type checks.

Read it outloud. Runtime checks e.g. dynamic type checking.

const validate (x) => {
  const i = parseFloat(x);
  return !isNaN(i);
}

Dynamic type checks are possible in dynamically typed languages.

code of conduct - report abuse