devilish666@lemmy.world to Programmer Humor@lemmy.ml · 8 months agoC++ Momentlemmy.worldimagemessage-square185fedilinkarrow-up11.03Karrow-down130
arrow-up1996arrow-down1imageC++ Momentlemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 8 months agomessage-square185fedilink
minus-squaremerc@sh.itjust.workslinkfedilinkarrow-up8arrow-down2·edit-28 months ago 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?
minus-squareBeardedGingerWonder@feddit.uklinkfedilinkEnglisharrow-up3arrow-down1·8 months agoI use vi without syntax highlighting.
minus-squareFlorianSimon@sh.itjust.workslinkfedilinkarrow-up1·8 months agoPlease don’t hack me, mister FBI
minus-squareBeardedGingerWonder@feddit.uklinkfedilinkEnglisharrow-up2arrow-down1·8 months agoTo 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.
minus-squareFlorianSimon@sh.itjust.workslinkfedilinkarrow-up2·8 months agoI do use neovim myself too 😁
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 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 😁