logoalt Hacker News

peterfireflyyesterday at 12:18 PM1 replyview on HN

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.


Replies

saagarjhatoday at 7:29 AM

Yeah most modern languages settle on having fewer types that are used most of the time and don't require as many casts.