Blåhaj Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
andrew@lemmy.stuart.fun to Programmer Humor@programming.devEnglish · 2 年前

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

lemmy.stuart.fun

message-square
26
link
fedilink
404

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 年前
message-square
26
link
fedilink
  • TootSweet@lemmy.world
    link
    fedilink
    English
    arrow-up
    33
    ·
    2 年前

    “Documentation considered harmful” - my coworkers probably.

    • railsdev@programming.dev
      link
      fedilink
      arrow-up
      22
      ·
      edit-2
      2 年前

      deleted by creator

      • redcalcium@lemmy.institute
        link
        fedilink
        arrow-up
        12
        ·
        edit-2
        2 年前

        It perfectly makes sense if you think like me.

        – a deranged programmer

        • QuazarOmega@lemy.lol
          link
          fedilink
          arrow-up
          9
          ·
          2 年前

          – a deranged programmer

          Aren’t we all?

      • TheYear2525@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        2 年前
        bool ticket2387_ac3 = true; // TODO
        if (!ticket2387_ac3) return;
        
        • funkless_eck@sh.itjust.works
          link
          fedilink
          arrow-up
          4
          ·
          2 年前

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

      • Doc Avid Mornington@midwest.social
        link
        fedilink
        English
        arrow-up
        5
        ·
        2 年前

        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
          ·
          edit-2
          2 年前

          deleted by creator

      • UnRelatedBurner@sh.itjust.works
        link
        fedilink
        arrow-up
        3
        ·
        2 年前

        facts

      • hairyballs@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        2 年前

        My coworkers do document the code:

        /// Returns a list of foos, given a bar. 
        fn get_foos_from_bar(bar: Bar)
        

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.

  • 559 users / day
  • 2.96K users / week
  • 7.41K users / month
  • 18.3K users / 6 months
  • 481 local subscribers
  • 24.8K subscribers
  • 1.5K Posts
  • 48K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org