logoalt Hacker News

ChrisMarshallNYtoday at 10:23 AM1 replyview on HN

Ahem...

My code usually clocs at 50/50 (or thereabouts)[0]. Has, since my very first real engineering project (in 1987)[1]. I discuss in detail, here[2].

But one reason that I like LLMs, is that they help me to write even more documentation. I have found that I can instruct an LLM to revise my documentation, and make it even more effective.

[0] https://github.com/ChrisMarshallNY (My GH profile. Pretty much everything there, is like that -has, since long before LLMs were a broken rubber on the drug store shelf).

[1] https://littlegreenviper.com/wp-content/uploads/2022/07/TF30... (Downloads a PDF)

[2] https://littlegreenviper.com/leaving-a-legacy/


Replies

IshKebabtoday at 2:51 PM

Your code isn't as unnecessarily commented as this. E.g. look at this line

https://github.com/RiftValleySoftware/RVS_Spinner/blob/d44ee...

An LLM would have commented `// Create temporary UI view.`

Completely redundant comments like this are a classic hallmark of LLMs:

  # Set frequency scaling factor
  freq=0.2
Dunno why I have been downvoted for stating the obvious.

Also from my brief look at one file it looks like you have 50% comments because you have a gazillion comment separator lines.

show 1 reply