News for hackers. Stuff that matters.
Re:Launch HN: Diversion (YC S22) – Cloud-Native Git Alternative by distortedsignal on Monday January 22, 2024 @12:49PM (#39092693)
I was thinking about trying this out, but there are some reasons why I don't think it's feasible.

Where are your comments stored?

What happens when you need to run out in the middle of a fire and you don't have time to make your code compile-able? How do you commit "un-compile-able" changes?

I think there are some really compelling reasons to try AST-checkin - all your loops can now be changed to functional, dialect changes like you mention, etc. - but there are some pretty significant downsides as well.

Re:Launch HN: Diversion (YC S22) – Cloud-Native Git Alternative by lowbloodsugar on Monday January 22, 2024 @01:41PM (#39093458)
Nodes in the AST for comments, block comments and "raw text I don't understand" seems like a way to go?
Re:Launch HN: Diversion (YC S22) – Cloud-Native Git Alternative by distortedsignal on Monday January 22, 2024 @03:59PM (#39095358)
Honestly yeah. Might have to give this another go.
Re:Launch HN: Diversion (YC S22) – Cloud-Native Git Alternative by n42 on Monday January 22, 2024 @12:59PM (#39092843)
these are both already solved issues that IDEs deal with with red-green trees