1009
C++ Moment
(lemmy.world)
Post funny things about programming here! (Or just rant about your favourite programming language.)
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
You use an editor that doesn't auto-indent?
I use vi without syntax highlighting.
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.