| ▲ | fauigerzigerk 8 hours ago | ||||||||||||||||
>The only time reuse really matters is in network protocols. Communication requires that both sides have a shared understanding. A lot of things are like network protocols. Most things require communication. External APIs, existing data, familiar user interfaces, contracts, laws, etc. Language itself (both formal and natural) depends on a shared understanding of terms, at least to some degree. AI doesn't magically make the coordination and synchronisation overhead go away. Also, reusing well debugged and battle tested code will always be far more reliable than recreating everything every time anything gets changed. | |||||||||||||||||
| ▲ | lioeters 7 hours ago | parent [-] | ||||||||||||||||
Even within a single computer or program, there is need for communication protocols and shared understanding - such as types, data schema, function signatures. It's the interface between functions, programs, languages, machines. It could also be argued that "reuse" doesn't necessarily mean reusing the actual code as material, but reusing the concepts and algorithms. In that sense, most code is reuse of some previous code, written differently every time but expressing the same ideas, building on prior art and history. That might support GP's comment that "code reuse" is overemphasized, since the code itself is not what's valuable, what the user wants is the computation it represents. If you can speak to a computer and get the same result, then no code is even necessary as a medium. (But internally, code is being generated on the fly.) | |||||||||||||||||
| |||||||||||||||||