You are viewing a single thread.
View all comments View context
2 points

same width for all setups

permalink
report
parent
reply
16 points

So I have to use the same width as you? What if I want 3 spaces for a tab?

permalink
report
parent
reply
6 points

That makes it worse imo

permalink
report
parent
reply
4 points
*

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.

permalink
report
parent
reply
9 points
*

I like to use asterisk spacing.

void main() {
/****/for (int i=0; i <10; ++I) {
/********/printf("hello world\n");
/********/printf("%d\n", i);
/****/}
}
permalink
report
parent
reply
3 points

Respect. Only through destruction can we be purified.

permalink
report
parent
reply
0 points
*

That’s spaces but worse? Why do you do thism

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 8.4K

    Monthly active users

  • 6.3K

    Posts

  • 172K

    Comments