Lea Rosema on Nostr: I love my poor girl's dependency injection approach in #javascript. It doesn't always ...
I love my poor girl's dependency injection approach in #javascript. It doesn't always require Interfaces as provided in #typescript
I just provide my dependency as a function parameter.
Published at
2024-10-19 12:24:12Event JSON
{
"id": "cb8d6f60f832c4381df794afde289fa015c07a0270c8f3e5c11c5c6ab69fbf0c",
"pubkey": "f08a637f70295418bc754097b336bb0f1c8ff89d6e2d4ad40fcd258b33000e05",
"created_at": 1729340652,
"kind": 1,
"tags": [
[
"t",
"javascript"
],
[
"t",
"typescript"
],
[
"proxy",
"https://lea.lgbt/users/lea/statuses/113334068983087943",
"activitypub"
]
],
"content": "I love my poor girl's dependency injection approach in #javascript. It doesn't always require Interfaces as provided in #typescript \n\nI just provide my dependency as a function parameter.",
"sig": "83778633fb926f3c3ab0622e5d9b185eb1b23afc9a6570e7844f10ba6c008e71e200e045e25564aacfd06c2875599c1010f8a8c16f9ee8633bfd493140cda725"
}