Explore >> Select a destination


You are here

evanfields.net
| | ezyang.github.io
3.3 parsecs away

Travel
| | The Rule of Three in software says that you should be willing to duplicate a piece of code once, but on the third copy you should refactor. This is a refinement on DRY (Don't Repeat Yourself) accounting for the fact that it might not necessarily be obvious how to eliminate a duplication, and waiting until the third occurrence might clarify. (See also The Wrong Abstraction.) LLMs love to duplicate code. Think about how, absent any other prompting, if you ask an LLM to modify a program, it will spit out a new copy of the program with the changes requested. For an LLM to decide to refactor code to remove duplication requires a moment where the LLM proactively decides to go out of their way to do some cleanup. (Actually, Sonnet 3.7 also has some of this inclinat...
| | blog.andrewshell.org
5.4 parsecs away

Travel
| | Strategies for thinking, learning, and productivity.
| | jamubc.github.io
4.9 parsecs away

Travel
| | Bridge Gemini models with Claude Desktop
| | iferminm.gitlab.io
21.7 parsecs away

Travel
| More than writing code