Identi.ca Identi.ca
  • Login
  • Public

    • Public
    • Groups
    • Featured
    • Popular

Conversation

Notices

  1. Arun Arun Ubuntu users , Vim Users , C Programming Language

    Which one to use in !vim? tabs or spaces for indentation? !ubuntu Any advantage/disadvantages. It is bad to have 'em both. !c

    Friday, 17-Apr-09 02:22:55 UTC from xmpp
    • Paulo likes this.
    • Barry Barry Vim Users

      @visionofarun so long as you stick with one, you're fine. Same philosophy toward how many spaces to a tab. !vim !c

      Friday, 17-Apr-09 02:28:28 UTC
    • Barry Barry GNU's Not Unix , Linux , Vim Users

      @visionofarun you might look at the !gnu and !linux coding style specifications. Both are in !c, but still different. !vim

      Friday, 17-Apr-09 02:30:02 UTC
    • james james

      @visionofarun AFAIK, if all things are equal it's best to pick one and stick with it. Obviously if you're working with Python, use spaces.

      Friday, 17-Apr-09 02:31:01 UTC
    • Samuel Clemens Rewtapello Samuel Clemens Rewtapello Vim Users

      @visionofarun Linus says indentation can only be 8-space tabs, and I can think of worse people to copy. !vim !c

      Friday, 17-Apr-09 02:40:08 UTC
    • Eduardo de Oliveira Padoan Eduardo de Oliveira Padoan

      @visionofarun Spaces. Always. For anything, in any editor. Spaces always have the same width, while tabs depends on the editor.

      Friday, 17-Apr-09 02:42:04 UTC

Site notice

  • API
  • Status

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Identi.ca is a microblogging service brought to you by Status.net. It runs the StatusNet microblogging software, version 1.1.0-alpha1, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Identi.ca content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.

Built in Montreal