640
wait what (pawb.social)
submitted 2 years ago* (last edited 2 years ago) by crimsonpoodle@pawb.social to c/programmer_humor@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] Maestro@kbin.social 28 points 2 years ago

It's not difficult at all, and many editors and IDEs already support this, making the entire point moot. Just do whatever the style guide says. I'm into PHP and Python so for me it's spaces all the way.

[-] LaggyKar@programming.dev 8 points 2 years ago

How can it tell the difference between spaces used for indentation and spaces used for alignment, if you use the same character for both?

[-] coloredgrayscale@programming.dev 3 points 2 years ago

Maybe alignment more for the righthand side of assignments. If you have a block of variables with different name lengths, or within a constructor / function call.

this post was submitted on 28 Feb 2024
640 points (100.0% liked)

Programmer Humor

26722 readers
134 users here now

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

founded 2 years ago
MODERATORS