We spend roughly 10x as much time reading code as we do writing it. A tool or technique that makes you twice as "productive" at writing code *at best* makes you 5% more productive over all. Making your code easier to understand will have 10x the impact. But that doesn't sell tools or put developers out of work, so you won't be reading about it in Forbes.
"But Jason, we can get ChatGPT to explain the code to us". Oh really?
@jasongorman this is a perfect example of how not to write comments. Brilliant. 🤩
ChatGPT explains exactly zilch...as expected.
@mforester TBF, if the information is there, it can explain the code. Basically, it can explain code that's easy to understand.
@jasongorman I'll give it that, but it really depends on what you define as *explaining* the code.
I saw that technically all observations were correct, but none of them are helpful. If I'd ask real intelligence (a.k.a. a person), they'd (hopefully) explain the function in more broad strokes and go deeper and deeper until I understand what I need. 🙂