moonboot labs social
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
andrew@lemmy.stuart.fun to Programmer Humor@programming.devEnglish · 1 year 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 · 1 year ago
message-square
30
fedilink
  • TootSweet@lemmy.world
    link
    fedilink
    English
    arrow-up
    33
    arrow-down
    1
    ·
    1 year ago

    “Documentation considered harmful” - my coworkers probably.

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

      deleted by creator

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

        It perfectly makes sense if you think like me.

        – a deranged programmer

        • QuazarOmega@lemy.lol
          link
          fedilink
          arrow-up
          9
          ·
          1 year ago

          – a deranged programmer

          Aren’t we all?

      • Doc Avid Mornington@midwest.social
        link
        fedilink
        English
        arrow-up
        6
        ·
        1 year 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
          1 year ago

          deleted by creator

      • TheYear2525@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        1
        ·
        1 year ago
        bool ticket2387_ac3 = true; // TODO
        if (!ticket2387_ac3) return;
        
        • funkless_eck@sh.itjust.works
          link
          fedilink
          arrow-up
          5
          ·
          1 year 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
        ·
        1 year 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
        ·
        1 year 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.

  • 50 users / day
  • 767 users / week
  • 3.42K users / month
  • 16.8K users / 6 months
  • 2 local subscribers
  • 19.4K subscribers
  • 1.01K Posts
  • 38K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org