by joshuamorton · 6y ago · 0 comments
Languages like python with a typechecker are much closer to rust (safe, but with the ability to have unsafe areas) than true statically typed langs, because static languages don't give easy escape hatches (you end up having to cast everything, no static Lang I'm aware of ships with an Any type like python's).
Isn't that similar to the dynamic type C# has had long before Python?
https://docs.microsoft.com/en-us/dotnet/csharp/programming-g...
Rust actually has an `Any` trait which allows for a certain amount of runtime type asserting if you don't know what concrete type you'll be working with.