Fanaticus
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@Aijan@programming.dev to Programming@programming.dev • 1 year ago

Self-documenting Code

lackofimagination.org

external-link
message-square
72
fedilink
86
external-link

Self-documenting Code

lackofimagination.org

@Aijan@programming.dev to Programming@programming.dev • 1 year ago
message-square
72
fedilink
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
    3•1 year ago

    This means war

    • @Deckweiss@lemmy.world
      link
      fedilink
      5•1 year ago

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

      • @humblebun@sh.itjust.works
        link
        fedilink
        English
        1•1 year ago

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

        • @nous@programming.dev
          link
          fedilink
          English
          1•1 year 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
            3•1 year ago

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

    • @0x0@programming.dev
      link
      fedilink
      5•1 year 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



  • 318 users / day
  • 1.71K users / week
  • 3.26K users / month
  • 7.75K users / 6 months
  • 24.1K subscribers
  • 2.76K Posts
  • 41.4K Comments
  • Modlog
  • mods:
  • snowe
  • Ategon
  • @MaungaHikoi@lemmy.nz
  • @UlrikHD@programming.dev
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org