this post was submitted on 05 Sep 2023
167 points (79.7% liked)

Programming

17484 readers
83 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 !webdev@programming.dev



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] eee@lemm.ee 37 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

[–] Dr_Cog@mander.xyz 16 points 1 year ago (1 children)

"Error: syntax error on line 1"

...shit

[–] eee@lemm.ee 8 points 1 year ago (1 children)

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

[–] sekhat@lemmy.temporus.me 2 points 1 year ago

Scrolling to a line number seems inefficient.

[–] Dark_Arc@social.packetloss.gg 11 points 1 year ago (1 children)

My program, written in the whitespace language, ruined.

CURSE YOU PERRY THE PLATYPUS!

[–] MajorHavoc@lemmy.world 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.