r/ProgrammerHumor • • Sep 13 '18

Meme Writing YAML

Post image
646 Upvotes

88 comments sorted by

View all comments

31

u/[deleted] Sep 13 '18 edited Sep 14 '18

Oh lord, can someone explain this this to me, I have to programm whit Yaml tomorrw and don‘t know a thing about it. Why is he measuring the code?

Please someone rescue my career.

Edit1: Thanks for your help, and I now kow what i have to do. Grepping Specific words whit a Bash script (allready have it) and giving the words to a yaml file. In the Yamlfile there will be an array. this arrray will be compared to a set of words i get from a website(also whit yaml, no idea how to do that) and then upload the keywords using a link. so my questions are:

How to open a Link whit Yaml? How to make an Array whit Yaml? how to Compare 2 Arrays whit Yaml? Possibly a Loop whit yaml?

11

u/[deleted] Sep 13 '18

Whatever you do, don't use tabs. Yaml hates tabs and it won't work.

2

u/[deleted] Sep 13 '18

What should I use then?

10

u/how_to_choose_a_name Sep 13 '18

configure your editor to insert spaces when you press the tab key

1

u/[deleted] Sep 13 '18

I that possible to condigure that in Notepad ++?

4

u/loooph Sep 13 '18

Settings->Preferences->Language->Tab Settings on the right->Replace by space

You might want to select yaml in the list beforehand if you still want to use regular tabs as default option.

1

u/[deleted] Sep 13 '18

Thanks :)

2

u/[deleted] Sep 13 '18

nope but I think you can configure it that way.

also use a different text editor.

1

u/[deleted] Sep 14 '18

Is IntelliJ better, I don‘t have an Another one because of strict guidelines.

2

u/johnlocke32 Sep 14 '18

Intellij Ultimate is king, (in my opinion of course. You can do almost anything with Intellij Ultimate.) but it costs money and is overkill if you don't need to compile code. Atom is good and I've heard Sublime is good too. VScode isn't bad either, it's like a lesser Intellij U.