3 ms·
On the other hand you could argue, that "how a computer does things" is also some kind of knowledge. For example: How to render some part of a website for exam
by zelphirkalt 6y ago
On the other hand you could argue, that "how a computer does things" is also some kind of knowledge.
For example: How to render some part of a website for example or a calculation, which uses the same formula as is used in another part of the code to calculate a number.
So with that interpretation of knowledge, you would have to avoid duplicating code. And it makes sense, because, if one day you need to change the way the computer does something, you want to avoid changing it in multiple places, because that makes it easy to forget places. This way avoiding duplicated code increases maintainability.