MTGZone
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
andrew@lemmy.stuart.fun to Programmer Humor@programming.devEnglish · 2 years ago

I love all my statements equally. (I don't care for GOTO)

lemmy.stuart.fun

message-square
30
fedilink
398

I love all my statements equally. (I don't care for GOTO)

lemmy.stuart.fun

andrew@lemmy.stuart.fun to Programmer Humor@programming.devEnglish · 2 years ago
message-square
30
fedilink
  • TootSweet@lemmy.world
    link
    fedilink
    English
    arrow-up
    33
    arrow-down
    1
    ·
    2 years ago

    “Documentation considered harmful” - my coworkers probably.

    • railsdev@programming.dev
      link
      fedilink
      arrow-up
      24
      arrow-down
      2
      ·
      edit-2
      2 years ago

      deleted by creator

      • redcalcium@lemmy.institute
        link
        fedilink
        arrow-up
        12
        arrow-down
        1
        ·
        edit-2
        2 years ago

        It perfectly makes sense if you think like me.

        – a deranged programmer

        • QuazarOmega@lemy.lol
          link
          fedilink
          arrow-up
          9
          ·
          2 years ago

          – a deranged programmer

          Aren’t we all?

      • Doc Avid Mornington@midwest.social
        link
        fedilink
        English
        arrow-up
        6
        ·
        2 years ago

        Using “self documenting” as a blanket excuse to not document things that need it is inexcusable, yes, but I’d rather work on code written by somebody who seriously thinks about how to make it clean and self documenting, and then documents whatever still needs it as well, than on code written by somebody who doesn’t make that effort, but documents heavily. And as for people who claim they’re documenting everything, when the documentation is function fooTheBar() // foos the bar, they can eat a bag of docs.

        • railsdev@programming.dev
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          edit-2
          2 years ago

          deleted by creator

      • TheYear2525@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        1
        ·
        2 years ago
        bool ticket2387_ac3 = true; // TODO
        if (!ticket2387_ac3) return;
        
        • funkless_eck@sh.itjust.works
          link
          fedilink
          arrow-up
          5
          ·
          2 years ago

          ticket is too exposed, what if they reverse engineer the name? just use t2387ac3 instead it saves time

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

        My coworkers do document the code:

        /// Returns a list of foos, given a bar. 
        fn get_foos_from_bar(bar: Bar)
        
      • UnRelatedBurner@sh.itjust.works
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        2 years ago

        facts

Programmer Humor@programming.dev

programmer_humor@programming.dev

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: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

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

  • 2.21K users / day
  • 4.58K users / week
  • 9.2K users / month
  • 18K users / 6 months
  • 4 local subscribers
  • 23.3K subscribers
  • 1.4K Posts
  • 51K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org