You are viewing a single thread.
View all comments
23 points
*

Programming languages that use white space to delimit structure are annoying at best. I get annoyed at yaml too, but I’m ok once I have a few templates set up.

permalink
report
reply
5 points

Use TABS guys TABS.

permalink
report
parent
reply
2 points

Tabs suck. Use a real editor and spaces work fine.

permalink
report
parent
reply
1 point
*

Yeah who tf isn’t using tabs as spaces, it isn’t 2010

permalink
report
parent
reply
2 points

Why tabs suck? Explain.

Tabs are neat.

Does you app have too many nested functions?

Use tab width = 2

Do your app have too less nested functions?

Use tab width = 8

Is your app having average number of nested fns?

Use tab width = 4(mostly default)

And all theese can happen without modifying a single byte in the source file, unlike spaces!

permalink
report
parent
reply
21 points

YAML comes with its own unique pains in the ass https://ruudvanasseldonk.com/2023/01/11/the-yaml-document-from-hell

These things actually matter, come up often enough to actually be annoying, and are a bit difficult to explain and learn into people. You’re basically fine if you just string quote everything that you can, but nobody does that.

permalink
report
parent
reply
7 points

That was interesting. And possibly the most Dutch name I have ever heard of.

permalink
report
parent
reply
3 points

Is Dutch name. Source: am Dutch.

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 5.3K

    Monthly active users

  • 1K

    Posts

  • 38K

    Comments