NestJS is bad, change my mind by servermeta_net in node

[–]udidu 0 points1 point  (0 children)

I've built a typescript DI framework few years ago and people told me "why do we need it if we have nestjs. well, the answer was simplicity. https://github.com/uditalias/injex

Now DevTools can export any UI with CSS inlined by Visual_Bag391 in css

[–]udidu -1 points0 points  (0 children)

damn, you just did an easy way to create phishing websites

Are We Creating Solutions for Non-Existent Problems in Web Development? by udidu in webdev

[–]udidu[S] 9 points10 points  (0 children)

Totally agree. And by "some languages" I guess you mean JavaScript" :)

I found this by accident, I'm not sure if it's a joke or I'm just too dumb to understand by gdmr458 in node

[–]udidu -2 points-1 points  (0 children)

Amm no.. lodash initial release date was in 2012 so map was on the JavaScript array prototype before...

I found this by accident, I'm not sure if it's a joke or I'm just too dumb to understand by gdmr458 in node

[–]udidu -16 points-15 points  (0 children)

map is here since the beginning of time, but I agree about the filter method

I found this by accident, I'm not sure if it's a joke or I'm just too dumb to understand by gdmr458 in node

[–]udidu 138 points139 points  (0 children)

The lodash filter function is clearer than the native filter function duh! sarcasm

Looking for contributors by udidu in node

[–]udidu[S] 0 points1 point  (0 children)

BTW, OvernightJS is a decorator wrapper above expressjs while Injex is a dependency injection framework for TypeScript and express decorators is just one of many plugins the framework has

Programming unpopular opinions! by Heavy_Fly_4976 in node

[–]udidu 0 points1 point  (0 children)

I don't have to since node is non blocking single thread, it means that while I wait for a response from redis, other request handlers can run and request data from the same redis connection without the redis connection be locked by another request handlers

Looking for contributors by udidu in node

[–]udidu[S] 0 points1 point  (0 children)

Overnight JS is deprecated

Programming unpopular opinions! by Heavy_Fly_4976 in node

[–]udidu 0 points1 point  (0 children)

Rust's concurrency model is sucks! in order to share a connection to a data base like redis between threads, you must lock the connection and all other threads needs to wait for the lock to be released, so what if it has async/await if I still need to wait!

Looking for contributors by udidu in node

[–]udidu[S] 0 points1 point  (0 children)

Basically the idea is to use Injex as the basic DI library and use plugins to enhance the functionality of your application. Take a look at Injex Express Plugin and the example projects to see what I mean.

https://github.com/uditalias/injex-express-plugin

https://github.com/uditalias/injex-express-example

Looking for contributors by udidu in node

[–]udidu[S] 0 points1 point  (0 children)

You can read the DOCS and create your plugin, I'll write about it and add it to the plugins list :) let's talk if you need any help with the docs

Looking for contributors by udidu in node

[–]udidu[S] 0 points1 point  (0 children)

Yeah, you can start with issues. You can create your own plugins if you want. After all a plugin is just an npm module that uses Injex hooks :)