7 ms·
> It's been really frustrating that neither Codex nor Opus can make targetted edits to Fable's code without screwing something subtle up. Reminds me of the old
by raphman 3mo ago
> It's been really frustrating that neither Codex nor Opus can make targetted edits to Fable's code without screwing something subtle up.
Reminds me of the old adage: don't try to be too smart when writing code. Otherwise, dumber people - including your future self - will have trouble working with it.
- murkt 3mo agoSome problems are very hard to solve with stupid code. This can easily be the case (computational geometry)
- mejutoco 3mo agoFor reference: if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it
- raphman 3mo agoAh thanks - I couldn't remember the original version. For reference: it's called Kernighan's Law, and can be found in the Second Edition of "The Elements of Programming Style", page 10 [1]. The original phrasing is: > Everyone knows that debugging is twice as hard as writing a program in the first place. So if you’re as clever as you can be when you write it, how will you ever debug it? [1] https://archive.org/details/the-elements-of-programming-style-second-edition/page/9/mode/2up?q=twice https://archive.org/details/the-elements-of-programming-styl...
- mejutoco 3mo agoIt seems I was not able to either, and I trusted google AI snippet. Thanks