You are viewing a single thread.
View all comments View context
7 points

Why would I use spaces if I use tabs? Also, it seemd like a huge waste of time hitting the space bar so many times…

permalink
report
parent
reply
7 points
*

Why would I use spaces if I use tabs?

To comply with Python’s best practices:

https://peps.python.org/pep-0008/

Also, if you work on the Linux Kernel, you’ll see a mix of tabs and spaces:

https://elixir.bootlin.com/linux/latest/source/block/bfq-iosched.c#L390

Also, it seemd like a huge waste of time hitting the space bar so many times…

You use an editor that doesn’t auto-indent?

permalink
report
parent
reply
3 points

I assume this was a joke 😁

permalink
report
parent
reply
2 points

I use vi without syntax highlighting.

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 6.9K

    Monthly active users

  • 1.4K

    Posts

  • 32K

    Comments