by revoly · 3y ago · 0 comments
I'm sympathetic to the points, I think. But I also don't have a problem with someone pushing for some type safety as long as you avoid actively trying to go against it.
A compiler that catches 7 errors is more safe than one that catches 4, and one that catches 4 is more safe than one that catches 0.
Casting is by definition an escape hatch.
c = Color("orange") does not compile.