ɐɥO@lemmy.ohaa.xyz to Linux@lemmy.ml · 9か月前I got SWAT'ed and handcuffed live while Linux development streaming!www.youtube.comexternal-linkmessage-square178fedilinkarrow-up1719
arrow-up1719external-linkI got SWAT'ed and handcuffed live while Linux development streaming!www.youtube.comɐɥO@lemmy.ohaa.xyz to Linux@lemmy.ml · 9か月前message-square178fedilink
minus-squareBlue_Morpho@lemmy.worldlinkfedilinkarrow-up328·9か月前Some people take tabs vs spaces too seriously.
minus-squarezante@lemmy.wtflinkfedilinkEnglisharrow-up55·9か月前If your front door gets kicked in, this is why.
minus-squareBrickhead92@lemmy.worldlinkfedilinkarrow-up25·9か月前That’s right kids. To avoid this situation be sure to use tabs for indentation.
minus-squareacockworkorange@mander.xyzlinkfedilinkarrow-up2·9か月前The only indentation method that the viewer has control on how big they want it.
minus-squaresimoncedlinkfedilinkEnglisharrow-up16·9か月前So I have to use the same width as you? What if I want 3 spaces for a tab?
minus-squareKairos@lemmy.todaylinkfedilinkarrow-up5·edit-29か月前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-29か月前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·9か月前Respect. Only through destruction can we be purified.
minus-squareKairos@lemmy.todaylinkfedilinkarrow-up1·edit-29か月前That’s spaces but worse? Why do you do this?
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 this?