Hacker News new | ask | show | jobs
by tailrecursion 236 days ago
I too appreciate detail-free programs, and I wonder at the value of including all the typedecls and pointer markings, and lifetime markings, and mutability markings interleaved with the logic. Some people I guess believe that the details are "part of the program" and they aid understanding. Do you buy that?

I find that sometimes typedecls aid understanding, but they get in the way if they're the least bit complicated. I'm better off reading the program. I never had problems understanding Lisp programs for some reason.

1 comments

Maybe you could use a "hide type declarations" view as part of a structurally aware (tree-sitter or LSP-based) code editor?