Matteo Collina on Nostr: One of the primary reasons of spaghetti code & unmaintanable codebases are… ...
One of the primary reasons of spaghetti code & unmaintanable codebases are… SINGLETONS.
They block future evolution of your codebase and make testing harder.
STOP USING THEM NOW
Published at
2024-04-25 16:16:00Event JSON
{
"id": "72c8b0114accae4ac7febac512519722b0a50b4ceb4767f8595c42c8a58b32a6",
"pubkey": "84afd2faf632c84f9539aaeb2bab0e8552e22b40a04e3df184f5e6ee3cc31f6b",
"created_at": 1714061760,
"kind": 1,
"tags": [
[
"proxy",
"https://fosstodon.org/users/mcollina/statuses/112332751554785862",
"activitypub"
]
],
"content": "One of the primary reasons of spaghetti code \u0026 unmaintanable codebases are… SINGLETONS.\nThey block future evolution of your codebase and make testing harder.\n\nSTOP USING THEM NOW",
"sig": "65f10ca6d0ab34be61c82ced66c53e9704d43190eca3883f070b2d987148e14b936e2248ec2aa22a61a5f064d1fb430adfc09d73848ff83aeb0ca0d610f64e0c"
}