Oha@lemmy.ohaa.xyz to Linux@lemmy.ml · 1 年前I got SWAT'ed and handcuffed live while Linux development streaming!www.youtube.comexternal-linkmessage-square177linkfedilinkarrow-up1723arrow-down117
arrow-up1706arrow-down1external-linkI got SWAT'ed and handcuffed live while Linux development streaming!www.youtube.comOha@lemmy.ohaa.xyz to Linux@lemmy.ml · 1 年前message-square177linkfedilink
minus-squareBlue_Morpho@lemmy.worldlinkfedilinkarrow-up332arrow-down1·1 年前Some people take tabs vs spaces too seriously.
minus-squarezante@lemmy.wtflinkfedilinkEnglisharrow-up48·1 年前If your front door gets kicked in, this is why.
minus-squareBrickhead92@lemmy.worldlinkfedilinkarrow-up25·1 年前That’s right kids. To avoid this situation be sure to use tabs for indentation.
minus-squareacockworkorange@mander.xyzlinkfedilinkarrow-up2·1 年前The only indentation method that the viewer has control on how big they want it.
minus-squaresimonced@lemmy.onelinkfedilinkEnglisharrow-up16·1 年前So I have to use the same width as you? What if I want 3 spaces for a tab?
minus-squaremexicancartel@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up10arrow-down4·1 年前That makes it worse imo
minus-squareKairos@lemmy.todaylinkfedilinkarrow-up5arrow-down1·edit-21 年前I use tabs for indentation then spaces after that if I need to offset a line by a specific amount of chars, such as a multi-line output or something. Edit: to be specific: https://pastebin.com/un6iUmEp . Notice how line 3 has one tab, then several spaces before the first non-whitespace character.
minus-squareSilverCode@lemm.eelinkfedilinkarrow-up9·edit-21 年前I like to use asterisk spacing. void main() { /****/for (int i=0; i <10; ++I) { /********/printf("hello world\n"); /********/printf("%d\n", i); /****/} }
minus-squareGrimpen@lemmy.calinkfedilinkarrow-up3·1 年前Respect. Only through destruction can we be purified.
minus-squareKairos@lemmy.todaylinkfedilinkarrow-up1arrow-down1·edit-21 年前That’s spaces but worse? Why do you do thism
Some people take tabs vs spaces too seriously.
If your front door gets kicked in, this is why.
That’s right kids. To avoid this situation be sure to use tabs for indentation.
The only indentation method that the viewer has control on how big they want it.
deleted by creator
How?
same width for all setups
So I have to use the same width as you? What if I want 3 spaces for a tab?
That makes it worse imo
I use tabs for indentation then spaces after that if I need to offset a line by a specific amount of chars, such as a multi-line output or something.
Edit: to be specific: https://pastebin.com/un6iUmEp . Notice how line 3 has one tab, then several spaces before the first non-whitespace character.
I like to use asterisk spacing.
void main() { /****/for (int i=0; i <10; ++I) { /********/printf("hello world\n"); /********/printf("%d\n", i); /****/} }Respect. Only through destruction can we be purified.
That’s spaces but worse? Why do you do thism