Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I would argue that the trailing comma diff issue is an artefact of the fact that diff works at the text level, not at the syntax level (I can only hope this might be a thing someday)


Sounds like an absolute nightmare of a problem to solve. And a maintenance nightmare.

Languages change over time.


I would imagine any version control system attempting to solve this problem would focus very closely on one particular language or development system. Any pragmatic solution would also have to be a highly opinionated one.

For a related idea, see Facebook's Haskell system, in which only type-safe code is allowed to be checked into the respository:

https://code.facebook.com/posts/745068642270222/fighting-spa...




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

Search: