𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ@lemmy.world to Programmer Humor@lemmy.ml · 2 years agoC++ Momentlemmy.worldimagemessage-square150linkfedilinkarrow-up10arrow-down10
arrow-up10arrow-down1imageC++ Momentlemmy.world𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ@lemmy.world to Programmer Humor@lemmy.ml · 2 years agomessage-square150linkfedilink
minus-squaremerc@sh.itjust.workslinkfedilinkarrow-up0·2 years ago Why would I use spaces if I use tabs? To comply with Python’s best practices: https://peps.python.org/pep-0008/ 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-up0·2 years agoI use vi without syntax highlighting.
minus-squareBeardedGingerWonder@feddit.uklinkfedilinkEnglisharrow-up0·2 years 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.
To comply with Python’s best practices:
https://peps.python.org/pep-0008/
You use an editor that doesn’t auto-indent?
Removed by mod
I use vi without syntax highlighting.
Removed by mod
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.
Removed by mod