@merc@sh.itjust.works
link
fedilink
7
edit-2
7M

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?

I assume this was a joke 😁

I use vi without syntax highlighting.

Please don’t hack me, mister FBI

To be fair you can totally bind an arbitrary number of spaces to tab in vi. I’ll dig out the syntax highlighting file some time. Oh and I use vim really.

I do use neovim myself too 😁

Create a 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.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.48K Posts
  • 32.6K Comments
  • Modlog