| ▲ | b40d-48b2-979e 2 days ago | |
What a load of bullshit. LLMs cut corners constantly and only handle the happy path. | ||
| ▲ | sunshowers 2 days ago | parent [-] | |
Right, when used incompetently. When used competently they can carefully reason through every edge case and flag things no human would have picked up on. One example: in some old code I wrote I had assumed that the Rust Hash impl for a type is stable over time. This is not the case in general, but writing a custom hasher for a complex type is incredibly annoying, so I took that shortcut. That was fine for years, but came back to bite me this week as I was trying to update a dependency. How much incidental complexity is due to that kind of thing? An LLM code review would flag this instantly, and one would also write a stable hash function for you. | ||