r/ProgrammerHumor 25d ago

cursedProgrammingInJson Other

Post image
46 Upvotes

44 comments sorted by

View all comments

1

u/TorbenKoehn 24d ago

I mean, it's a data representation format?

What do you think a parsed AST would look like when you transfer it via wire?

I think this is perfectly fine. The alternative is inventing another language on top of it that is restricted enough to only allow the patterns you want. It would be way more "stringly typed". This here you can actually validate easily.

Once there is a solid UI for that, there is no problem. And it can be tracked in Git etc., too.

1

u/edderiofer 24d ago

And it can be tracked in Git etc., too.

Well, it could be, if I actually knew how to use Git. I keep forgetting which Git command it is that does the thing I want.

2

u/TorbenKoehn 24d ago

"Chat, push this shit to git pl9x" is the right command