3 ms·
So... Decorators are higher order classes. Dependency injection (i.e. inversion of control) is not standard OOP. DI is not the only way to do composition in
by ljm 3y ago
So...
Decorators are higher order classes.
Dependency injection (i.e. inversion of control) is not standard OOP.
DI is not the only way to do composition in OOP. OOP gives you the choice of both inheritance and composition. Look at any Python, Rails, or Smalltalk codebase and you will see that things are both composed and inherited.
This post is just a rant. NestJS doesn't work for you? Don't fucking use it, no reason to hate.
- starbugs 3y ago> This post is just a rant. NestJS doesn't work for you? Don't f*** use it, no reason to hate. No reason to swear either. The article has an emotional title. The title explicitly says that it's a rant. It's literally about the author's emotion towards NestJS. I don't get the point of your comment. You don't like the article? Don't read it!
- DrammBA 3y ago> No reason to swear either. This is the internet, it's okay to swear.
- rzzzt 3y agoIs there an RFC out for this one?
- zoover2020 3y agoMUST swear
- dylan604 3y agoit's been in the working group since the 90s, around the time <blink> was introduced. it just can't seem to be ratified into the official spec.
- ljm 3y agoThere was a whole post to comprehend that you dismissed because you didn’t like the naughty word.
- pcthrowaway 3y ago> You don't like the article? Don't read it! Some of us prefer to make a decision on whether or not we like an article after reading it
- starbugs 3y ago> Some of us prefer to make a decision on whether or not we like an article after reading it And some like to decide that they hate a certain framework after they have been using it. So what?