By “good” I mean code that is written professionally and concisely (and obviously works as intended). Apart from personal interest and understanding what the machine spits out, is there any legit reason anyone should learn advanced coding techniques? Specifically in an engineering perspective?

If not, learning how to write code seems a tad trivial now.

  • Em Adespoton
    link
    fedilink
    93 months ago

    I would not trust the current batch of LLMs to write proper docstrings and comments, as the code it is trained on does not have proper docstrings and comments.

    And this means that it isn’t writing professional code.

    It’s great for quickly generating useful and testable code snippets though.

    • @[email protected]
      link
      fedilink
      English
      33 months ago

      It can absolutely write a docstring for a provided function. That and unit tests are like some of the easiest things for it, because it has the source code to work from

      • dandi8
        link
        fedilink
        33 months ago

        In my experience LLMs do absolutely terribly with writing unit tests.