• Pasta Dental
    link
    fedilink
    arrow-up
    76
    ·
    6 months ago

    I’m the total opposite, my documentation is very thorough, my code looks like it was made by a monkey

      • Steamymoomilk
        link
        fedilink
        English
        arrow-up
        12
        arrow-down
        1
        ·
        6 months ago

        The trained ape is AI and it works really well.

        Hold on i gotta glue my pizza and drink my piss every 24hours before i finish this comment.

        (Im joking)

    • bitfucker@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      6 months ago

      I prefer concise and accurate documentation than clean code tbh. The reason is that if the documentation stated that it should perform something with side effects a,b,c then I at least know what to expect. When contributing, this also makes it easier to implement something because we have the requirement at hand. Understanding shitty code is easier than understanding human requirements. Shitty code is the language we use to talk with a computer, so at least you’ll know exactly what will happen.

      • Pasta Dental
        link
        fedilink
        arrow-up
        2
        ·
        6 months ago

        I think the same, I often find that people overestimate their ability to write self documenting code and with the added mess of automatic formatters it often becomes hard to read and understand. In my department I am one of the few who actually writes comments and readmes that explains the reason behind some decisions. I am very junior, less than a year of experience, so maybe I will be able to better understand code that other people write in the future. But for the time being I write my documentation and my comments in a way that someone who doesn’t know anything about the project can understand, because I hate having to call coworkers because I can’t figure out how the project handles x and y (bear in mind that is also caused by Java “best practices” with 45 abstraction layers)

  • 👍Maximum Derek👍@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    33
    ·
    edit-2
    6 months ago

    My best READMEs are the ones I write well before I’ve finished the code. The README bears little resemblance to reality, but it’s the easiest to read.

  • Landless2029@lemmy.world
    link
    fedilink
    arrow-up
    20
    ·
    6 months ago

    Am I the only one who writes the Readme as I add features and do my commits.

    Don’t leave your homework until the end and cram away just before it’s due.

    Code every other day.

    Code. Then review and document.

    I also try to maintain my feature list in my Readme. Essentially my roadmap. Work my way down the list and write Code as features are added/updated.

  • stevedidwhat_infosec@infosec.pub
    link
    fedilink
    arrow-up
    14
    ·
    edit-2
    6 months ago

    Code is more or less deterministic, communicating with other humans using something like the English language - much harder.

    Lots of communication is open ended and up to interpretation especially with things like incorrect grammar usage and/or slang

    Take your time, get it as close to right as you can the first go around

  • Signature_________@poeng.link
    link
    fedilink
    arrow-up
    10
    ·
    6 months ago

    Them: “Read the docs, this is a mature project!”

    The documentation: “Coming soon!”

    Me: “It says its coming soon.”

    Them: “Its open source, how about you contribute instead of demand?”

    Me: “What?”

    System notification: “Banned, lol”

    • 0x4E4FOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 months ago

      This is eerie close to home! Completely illogical answers, yet somehow I’m to blame 🤨…

      • neidu2@feddit.nl
        link
        fedilink
        arrow-up
        1
        ·
        6 months ago

        As long as your documentation doesn’t require anything graphical, then I’m your man.

        • 0x4E4FOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 months ago

          Nope, nonetheleast. Maybe a screenshot or two.

          I’ll send you a DM 👍.

  • jol@discuss.tchncs.de
    link
    fedilink
    arrow-up
    7
    ·
    6 months ago

    I’m the opposite. I will write literally a book of poetry for the tiniest feature to justify my pay raise at the end of the year.

  • 299792458ms@lemmy.zip
    link
    fedilink
    arrow-up
    7
    ·
    6 months ago

    This is like when I was in school and spend half of the time using “word art” to set fancy titles

  • jjjalljs@ttrpg.network
    link
    fedilink
    arrow-up
    6
    ·
    6 months ago

    I think a lot of people are kind of bad at written communication. It’s not an easy skill.

    Often at work folks will write twice as many words and clauses as needed. The Hemingway editor ( https://hemingwayapp.com/ ) isn’t perfect, but I recommend they take a look at it.

  • Dr. Wesker@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    6 months ago

    I pride myself on writing pretty good technical docs. But there’s always a motivation hurdle at the beginning, that I have to get over.

  • EvilCartyen@feddit.dk
    link
    fedilink
    arrow-up
    5
    ·
    6 months ago

    Well, I for one am thankful you lot see so bad at explaining yourselves or I’d be out of a job

    Love, the technical writer

  • ArbitraryValue
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    6 months ago

    This is why my programs don’t come with documentation. If you want to use them, the best I can do is a messy script that “works for me”.