ɐɥO@lemmy.ohaa.xyz to Linux@lemmy.ml · 2 months agoI got SWAT'ed and handcuffed live while Linux development streaming!www.youtube.comvideomessage-square181fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1videoI got SWAT'ed and handcuffed live while Linux development streaming!www.youtube.comɐɥO@lemmy.ohaa.xyz to Linux@lemmy.ml · 2 months agomessage-square181fedilink
minus-squareKairos@lemmy.todaylinkfedilinkarrow-up0·edit-22 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-up0·edit-22 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-up0·2 months agoRespect. Only through destruction can we be purified.
minus-squareKairos@lemmy.todaylinkfedilinkarrow-up0·edit-22 months agoThat’s spaces but worse? Why do you do this?
minus-squaremexicancartel@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up0·2 months agoThat makes it worse imo
minus-squaresimonced@lemmy.onelinkfedilinkEnglisharrow-up0·2 months agoSo I have to use the same width as you? What if I want 3 spaces for a tab?
How?
same width for all setups
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?
That makes it worse imo
So I have to use the same width as you? What if I want 3 spaces for a tab?