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

5

u/VerledenVale Feb 22 '26

Same. I can't stand random inline hints cluttering code.

I also like when lines fit 80 chars so I can have nice thin editors that are easier to scan with my eyes, and and have 2, 3, or 4 next to one another (depending on what other tools I have active).

So I only enable "postfix" hints which are hints that are allowed to appear at the end of lines, and I format them to be very small, grey, so that they don't bother me unless I care about them.

In Rust for example I use those for hinting what closing braces of long blocks (25+ lines) are, and for iterator chains (shows type at each stage).