Hacker News new | past | comments | ask | show | jobs | submit login

IMO there should be two configurations for code style. One for files and one for presentation. That way any coder can view and edit files to their own preferences.



You can already do that today if your editor implements a prettify-symbols-mode https://marketplace.visualstudio.com/items?itemName=siegebel...

You can let editorconfig/linters/formatters to take care of code style, and prettify-symbols-mode of your preferred presentation, which should be stable as well given a stable code style.


It's almost like plain text (with primitive ASCII art arrows and such) isn't a great user interface, even for developers! We should come up with some way of separating the Model and View... :-)


We have not even exhausted the possibilities of augmented text. IntelliJ at least annotates callee argument names and inferred types. For rust people are tinkering on borrowchecker region analysis annotations.

I'm sure there's more that could be done.


JetBrains MPS is such an example: https://www.jetbrains.com/mps/


This already exists when tabs are used for indentation.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: