Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
incompetentboob@lemmy.world to Programmer Humor@lemmy.ml · 2 years ago

I’ll fight anyone who disagrees

files.catbox.moe

message-square
23
fedilink
131

I’ll fight anyone who disagrees

files.catbox.moe

incompetentboob@lemmy.world to Programmer Humor@lemmy.ml · 2 years ago
message-square
23
fedilink
alert-triangle
You must log in or # to comment.
  • Anarch157a@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    2 years ago

    Create a language where tabs are used for indentation while comments are formed by one space character at the beginning of a line, followed by a tab. Exactly eight spaces at the beginning of a line means that line is continuation of the previous one.

    Maybe I’ll start an Anarchy Programming sublemmy.

  • Chet_Awesomelad@kbin.social
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    I think you put those images the wrong way around, pal 😠

    • shiftenter@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      I agree, the others are wrong.

  • T156@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    That’s why you get the best of both worlds, and combine them to use tabspaces. Everyone will hate you equally, achieving true equality in the proecss.

    • mundane_party@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      2 years ago

      Tab characters are space efficient and configurable for each person in their editor. Space characters are consistent between developers.

      Solution: each tabspace indent is a random width, making it both inconsistent and non-configurable. Also, each character is the size of at least four regular characters, so it’s not even space efficient

      • Estinos@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        2 years ago

        deleted by creator

        • MyNameIsRichard@lemmy.ml
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          Cries in python

    • rooster_butt@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Honestly the best solution is tabs for indentation and spaces for alignment.

  • RiikkaTheIcePrincess@kbin.social
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    Hard to imagine how anyone could be so wrong :P

  • Eavolution@kbin.social
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    The only solution is to use a curly brace language and write everything on one line.

    • draggeta@kbin.social
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      The real question is spaces around curly braces or not?

      • T156@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        Have spaces around curly braces modify the behaviour. That way, you can incorporated both.

  • duncesplayed
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    Just set your tab width to 1. No more argument now.

  • 𝘋𝘪𝘳𝘬@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    3 spaces!

    Fight me!

    • GVasco@discuss.tchncs.de
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      I like it, at least it’s a prime number!

  • astrsk@kbin.social
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    I prefer to use three alt+255

    • GVasco@discuss.tchncs.de
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      A bit useless if there’s no character in front of the lead

  • Mike835@kbin.social
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    I’ve always found it weird people call it white spacing when most coders use night mode on their ide, shouldn’t it be black space?

    • zexu knub@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      😂😂😂

  • Drew Belloc@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    Finally someone that speaks the hard truth that we need to hear

  • Lachy@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    My indentation is secretly the actual program written in the whitespace programming language.

  • tr00st@lemmy.tr00st.co.uk
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    As a JS developer, I prefer to use semicolons for indentation.

  • DonjonMaister@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    I have no problem with either. But I do have a problem with people who use the space bar instead of the tab key.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 147 users / day
  • 1.95K users / week
  • 3.22K users / month
  • 9.73K users / 6 months
  • 441 local subscribers
  • 35.9K subscribers
  • 1.74K Posts
  • 37.7K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org