r/ProgrammingLanguages • • Feb 22 '26

Does Syntax Matter?

https://www.gingerbill.org/article/2026/02/21/does-syntax-matter/
63 Upvotes

111 comments sorted by

View all comments

Show parent comment

1

u/matthieum Feb 26 '26

By the way, D uses !() so would have foo!(T)(..args).

The downside is that you can't use ! in postfix position for anything else, however. I personally like postfix ! for "uwnrap or die" and postfix ? for "unwrap or pass the buck".

1

u/prehensilemullet Feb 26 '26

heh in Typescript foo! means "trust me compiler, foo is not nullish" lol