this post was submitted on 05 Sep 2023
156 points (78.9% liked)

Programming

17492 readers
33 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 31 points 1 year ago (2 children)

Neither tabs or spaces are good. The correct way is to leave no whitespace in the code at all. It's unnecessary and adds to processing time.

Everyone should aim for 1LOC per commit

[–] [email protected] 14 points 1 year ago (1 children)

"Error: syntax error on line 1"

...shit

[–] [email protected] 8 points 1 year ago (1 children)

Great, no scrolling through thousands of lines to find the right one!

[–] [email protected] 2 points 1 year ago

Scrolling to a line number seems inefficient.

[–] [email protected] 11 points 1 year ago (1 children)

My program, written in the whitespace language, ruined.

CURSE YOU PERRY THE PLATYPUS!

[–] [email protected] 2 points 1 year ago

Now next time I read anything about why any Python libraries are named what they are named, I'm going to hear Dr Doofenschmirtz voice. Thank you for that.