← Back to context Comment by saagarjha 5 months ago Yes, it simplifies a lot of code that would otherwise be littered with casts. 2 comments saagarjha Reply peterfirefly 5 months ago Could be fixed by having a nicer casting syntax (like Rust) or by not having so damn many scalar types that are used in practice."Explicit casts only" worked fine in Modula-2, which doesn't have as many scalar types. saagarjha 5 months ago Yeah most modern languages settle on having fewer types that are used most of the time and don't require as many casts.
peterfirefly 5 months ago Could be fixed by having a nicer casting syntax (like Rust) or by not having so damn many scalar types that are used in practice."Explicit casts only" worked fine in Modula-2, which doesn't have as many scalar types. saagarjha 5 months ago Yeah most modern languages settle on having fewer types that are used most of the time and don't require as many casts.
saagarjha 5 months ago Yeah most modern languages settle on having fewer types that are used most of the time and don't require as many casts.
Could be fixed by having a nicer casting syntax (like Rust) or by not having so damn many scalar types that are used in practice.
"Explicit casts only" worked fine in Modula-2, which doesn't have as many scalar types.
Yeah most modern languages settle on having fewer types that are used most of the time and don't require as many casts.