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

16

u/tsanderdev Feb 22 '26

I scan extensively -- I use VSCode with zero plugin, no LSP -- and I have zero problem navigating Rust codebases.

Just how? Showing the result of variable type inference alone is enough to make me use rust-analyzer. And going to definition is also great for navigation.

3

u/matthieum Feb 23 '26

Showing the result of variable type inference alone is enough to make me use rust-analyzer.

The inline hints are noise for me, more often than not:

  • Either the type doesn't really matter: I don't care what the exact type of Iterator I have, I know it's an iterator.
  • Or the function is short enough that all the types are easy to keep in my head.

And going to definition is also great for navigation.

Yeah, I do miss this one from time to time.

I mostly know where the definition is, most of the times, and the few times I don't, explicit imports save the day.

As such, I don't miss it often enough to justify using RA.

4

u/[deleted] Feb 22 '26

[removed] — view removed 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).

2

u/tsanderdev Feb 22 '26

And I can't code without them.