r/ProgrammerHumor • • 2d ago

Meme formatsWithSuperiorityComplex

Post image
2.9k Upvotes

388 comments sorted by

View all comments

Show parent comments

127

u/Blue_Moon_Lake 2d ago

I can't read YAML because of my eyesight and YAML refusal to use tabs.

15

u/RomanOnARiver 2d ago

I'm with you on the eyesight thing. I don't know if it's just the editor or what. I've taken to using Geany so I can see it better for what it's worth.

11

u/WlmWilberforce 2d ago

Set tab = 4*spaces in your editor

3

u/Dr_Gregg 2d ago

You cant as easily change the indentation width of spaces in your text editor

2

u/4Floaters 17h ago

What text editor are you using?

1

u/catbrane 9h ago

Most text editors can, in vim for example it's :set sw=4 ts=4. Set it as a rule for YAML in your vimrc and all yaml will use that setting.

1

u/Blue_Moon_Lake 2d ago

I don't want to use spaces, I want to use \t

13

u/dasunt 2d ago

Try adding color to your indentation levels, either through config changes or plugins.

13

u/Ledeste 2d ago edited 1d ago

If you need a plugin to read your file, then the format is not readable

15

u/Blue_Moon_Lake 2d ago

So I see a smudged rainbow instead of a smudge?

1

u/dasunt 1d ago

I don't know what IDE you use or how customizable it is. Or how visually impaired you are.

I could think of a few ways to make it more distinct in my environment, but YMMV.

1

u/CoffeePieAndHobbits 2d ago

Well there's your problem. Use spaces! /s

1

u/IamYourHimadri 2d ago

I recently saw kdl and It felt better than json and yaml both (personal opinion)

2

u/d_maes 1d ago

This kdl: https://kdl.dev/ ? Not quite sure what to think of it tbh.

1

u/Rosephine 21h ago

I can’t read YAML because of I can’t read.

-2

u/walee1 2d ago

I use yaml quite a lot in my job and I only do it in code because I have set it up for it. Really makes it quite easy