Avatar

dreugeworst

dreugeworst@lemmy.ml
Joined
1 posts • 102 comments
Direct message

Good point, going by this graphic, I’d say a gavial hat

permalink
report
parent
reply

What are they called, I need one

permalink
report
reply

Started out using Ubuntu since 6.06, tried out elementary OS for a bit, went back to using vanilla Gnome on ubuntu and have switched over to Fedora a couple of years ago

permalink
report
reply

I think the main reason OOP has a well-known term and pattern for dependency injection is to differentiate these two (out of multiple) options:

  • the constructor of my object creates other objects it depends on itself
  • I construct the dependencies of my object elsewhere and pass them in to the constructor and use an interface to make it easy to swap behaviour

However, this becomes less of a pattern in functional programming as you wouldn’t make such objects to begin with. In FP, you pass all parameters where a function is invoked, and DI just becomes using generic parameters. You wouldn’t instantiate a dependency on each function call after all.

As this is such a minor change, it’s not really talked about much and it’s not really a pattern,

permalink
report
parent
reply

Ahh won’t have the reflexes for that… Maybe civ?

permalink
report
parent
reply

From the little that I’ve used it, I believe Bootstrap for example provides both the lower-level classes like like p-4 uppercase and ui building blocks like btn btn-primary. So I guess by building daisyUI on top of Tailwind it will provide what frontend devs expect?

permalink
report
parent
reply

Listen very carefully, I shall say this only once

permalink
report
reply

that’s an argument to talk about electric cars at least some of the time, not to exclusively talk about them at the expense of any other transportation option. According to US government statistics, people in rural areas make up about 15% of the population, why is their situation dictating the national conversation around clean transportation?

permalink
report
parent
reply

I mean, the USA and Europe did fuck lots of shit up during the cold war, let alone before then. Totally fair if people from South America, Africa and Asia are wary of us. No excuse for including jews though

permalink
report
parent
reply

Also taking a side of Atlantic slave trade

permalink
report
reply