Water Blower on Nostr: 20K lines of code is the sweet spot that a good developer can realistically hold in ...
20K lines of code is the sweet spot that a good developer can realistically hold in his brain at once per year.
Which means, the code size should be
Total Lines of Code / (People - 1) <= 20K
You always want to -1 because you want shared knowledge about the codebase.
If your team is suffering from complexity but the number is <= 20K, you designed the wrong architecture.
Published at
2024-07-20 16:44:04Event JSON
{
"id": "af6cc6c5c60b03e323f0ed5afc2742b6f9dc66083f400b2e4970e5fd4cc851dc",
"pubkey": "6b9da920c4b6ecbf2c12018a7a2d143b4dfdf9878c3beac69e39bb597841cc6e",
"created_at": 1721493844,
"kind": 1,
"tags": [],
"content": "20K lines of code is the sweet spot that a good developer can realistically hold in his brain at once per year.\n\nWhich means, the code size should be\n\nTotal Lines of Code / (People - 1) \u003c= 20K\n\nYou always want to -1 because you want shared knowledge about the codebase.\n\nIf your team is suffering from complexity but the number is \u003c= 20K, you designed the wrong architecture.",
"sig": "8372e2478a93926a1839e4b54aab8249eb9f0f5e98b545aca15e3cd16e14526803bc42198b3a2a0b84f5babb3232795de2566976bbfb20ee3c89940ac1e1cce3"
}