615
TOML
(lemmy.nz)
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.
For programming languages that make use of
{}, the reason is (almost always) scope.Take for instance this:
compared to this:
The intent of the first one is unclear. In the second one it's clear you should loop
do_thing()and then rundo_other_thing()afterwards. The indentation is only for readability in the above though. Logically there would be no difference in writingLanguages that use indentation and line breaks for scope look more similar to this: