Alex Nedelcu on Nostr: In #JavaScript/#TypeScript, in Node.js, the status quo is the use of global state for ...
In #JavaScript/#TypeScript, in Node.js, the status quo is the use of global state for initializing resources. This results in tight coupling, poor resource disposal, and concurrency issues.
People could use more #OOP, but code minifiers are a must and too dumb to deal with it.
Published at
2024-03-06 11:22:38Event JSON
{
"id": "b2554970baa0723468610f623691f1ceb4a681d7386dd9b585503a4654b6f9f2",
"pubkey": "2464a99bb3a2cface2d500032721fbdb4f036b4c92624d2039a11cc2d6a744a4",
"created_at": 1709724158,
"kind": 1,
"tags": [
[
"t",
"javascript"
],
[
"t",
"oop"
],
[
"proxy",
"https://social.alexn.org/users/alexelcu/statuses/112048482449249523",
"activitypub"
]
],
"content": "In #JavaScript/#TypeScript, in Node.js, the status quo is the use of global state for initializing resources. This results in tight coupling, poor resource disposal, and concurrency issues.\n\nPeople could use more #OOP, but code minifiers are a must and too dumb to deal with it.",
"sig": "1cacea7ad2427d6432ffcd16966773aba15b4f2b7da09cd2425738e34a6f46f4df8f8438135902edbe94a3e7ace9f3b36189bb0c00953a7776e4547462bb1d66"
}