Lemmy: Bestiverse
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Aijan@programming.dev to Programming@programming.dev · 7 months ago

Self-documenting Code

lackofimagination.org

external-link
message-square
72
fedilink
  • cross-posted to:
  • hackernews
85
external-link

Self-documenting Code

lackofimagination.org

Aijan@programming.dev to Programming@programming.dev · 7 months ago
message-square
72
fedilink
  • cross-posted to:
  • hackernews
Think back to the last time you looked at an unfamiliar block of code. Did you immediately understand what it was doing? If not, you’re not alone – many software developers, including myself, find it challenging to grasp unfamiliar code quickly…
  • humblebun@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    7 months ago

    This means war

    • Deckweiss@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      7 months ago

      Just run both in a loop until it reaches a state of equilibrium.

      • humblebun@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        7 months ago

        Or use LLM to generate the doc from all sources you have. Foolproof 100%

        • nous@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          7 months ago

          Better yet, use LLM to generate the docs - then use it again to generate the code form the docs. WCPGW

          • humblebun@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            3
            ·
            7 months ago

            You sound like a CEO. Do you have a spare CTO role?

    • 0x0@programming.dev
      link
      fedilink
      arrow-up
      5
      ·
      7 months ago

      Could be .jar too.

Programming@programming.dev

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

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Visibility: Public
globe

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

  • 68 users / day
  • 573 users / week
  • 2.68K users / month
  • 6.93K users / 6 months
  • 1 local subscriber
  • 20.1K subscribers
  • 792 Posts
  • 8.87K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • MaungaHikoi@lemmy.nz
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org