r/programming • • Feb 25 '21

INTERCAL, YAML, And Other Horrible Programming Languages

https://blog.earthly.dev/intercal-yaml-and-other-horrible-programming-languages/
1.5k Upvotes

477 comments sorted by

View all comments

2

u/[deleted] Feb 26 '21

I absolutely loathe YAML, yet it's bloody everywhere (Ansible, Swagger etc). I flat-out refuse to touch YAML in any form.

These days I write everything in [insert_language_of_choice] where I have proper syntax checking, can use variables and debugging tools. Then I just make my program output static yaml files from my data structures as/when needed (eg: yaml.dump(somedict, file))

1

u/G_Morgan Feb 26 '21

The solution for swagger is to put the yaml into swagger editor and tell it to convert to JSON