Oha@lemmy.ohaa.xyz to Linux@lemmy.ml · 10 months agoI got SWAT'ed and handcuffed live while Linux development streaming!www.youtube.comexternal-linkmessage-square180fedilinkarrow-up1726arrow-down119
arrow-up1707arrow-down1external-linkI got SWAT'ed and handcuffed live while Linux development streaming!www.youtube.comOha@lemmy.ohaa.xyz to Linux@lemmy.ml · 10 months agomessage-square180fedilink
minus-squareBlue_Morpho@lemmy.worldlinkfedilinkarrow-up331arrow-down1·10 months agoSome people take tabs vs spaces too seriously.
minus-squarezante@lemmy.wtflinkfedilinkEnglisharrow-up55·10 months agoIf your front door gets kicked in, this is why.
minus-squareBrickhead92@lemmy.worldlinkfedilinkarrow-up25·10 months agoThat’s right kids. To avoid this situation be sure to use tabs for indentation.
minus-squareacockworkorange@mander.xyzlinkfedilinkarrow-up2·9 months agoThe only indentation method that the viewer has control on how big they want it.
minus-square737@lemmy.blahaj.zonelinkfedilinkarrow-up15arrow-down31·edit-214 days agodeleted by creator
minus-squaresimonced@lemmy.onelinkfedilinkEnglisharrow-up16·10 months agoSo 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·10 months agoThat makes it worse imo
minus-squareKairos@lemmy.todaylinkfedilinkarrow-up5arrow-down1·edit-210 months agoI 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-210 months agoI 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·10 months agoRespect. Only through destruction can we be purified.
minus-squareKairos@lemmy.todaylinkfedilinkarrow-up1arrow-down1·edit-210 months agoThat’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