News for hackers. Stuff that matters.
Re:Deno will stop using TypeScript by waheoo on Sunday June 21, 2020 @09:32PM (#23596726)
If youre doing tdd or writing tests like this you have bigger problems.

Type safety is easy in a dynamic language. Stop mutating variables and stop mixing types. Suddenly that whole class of errors evaporates. No need to test things that are impossible.

And for those times you want some magic in your life, nothing is stopping you, no need for generics, just proceed with caution and test accordingly.

There are no comments on this comment yet.