Source
- URL: https://x.com/rfleury/status/1392854205807796226
- Author: Ryan Fleury (@rfleury)
- Posted: 2021-05-13 14:48:15
Thread
1/ @rfleury
@nex3
https://handmade.network/manifesto
2/ @SuddenlyWizards
@rfleury @nex3
Serious question, this document appears to put performance at odds with code readability, is the idea here saying that performances the only thing that matters? And if it means better speed the code can be arcane mess? I’m just a little confused by the tone.
3/ @rfleury
@SuddenlyWizards @nex3
No, I don’t think so.
For me, the point of the manifesto is purely that we are writing real code for real machines, in real circumstances, with real teams, for real users.
Code readability is useful insofar as it helps us do that.
It is not the point of software, however.
4/ @rfleury
@SuddenlyWizards @nex3
To that point, with regards to the original post, the tradeoffs of “code reusability” are often not measured, nor are they even considered. It is simply assumed that writing things from scratch is fundamentally worse, will take longer, and will be less robust.
5/ @rfleury
@SuddenlyWizards @nex3
This is just not true in my experience, and the industry’s attitude towards “code reusability”, at large, seems to be more religiosity than much else.