News for hackers. Stuff that matters.
Re:Cold Showers by YetAnotherNick on Saturday June 18, 2022 @06:46PM (#31794486)
Static typing doesn't mean type information being available. Most statically typed language allow some version of `let x = 5`. Similarly static types doesn't mean unsafe casting are not performed.

Also in the opposite direction, many dynamically typed language allows specifying types if you want to including python.

Re:Cold Showers by the_only_law on Saturday June 18, 2022 @11:17PM (#31795826)
> let x = 5

x still has static type, the compiler just infers it based on the assignment, the type information is still there. Agree that implicit/unsafe casting is still and issue in some languages though.