logoalt Hacker News

hoshyesterday at 11:50 PM1 replyview on HN

I remember someone mentioning a system that operated with ASTs like this in the 70s or 80s. One of the affordances is that the source base did not require a linter. Everyone reading the code can have it formatted the way they like, and it would all still work with other people’s code.


Replies

skybriantoday at 12:31 AM

It seems like that could be done in the editor if you auto-reformat on load and save. (Assuming there's an agreed-on canonical format.)

show 1 reply