Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
jestdotty6113127d@Lensflare gee wonder why you keep complaining about not understanding then (this is sarcasm) -
Lensflare21314127d@jestdotty not really complaining though. I feel like not understanding what you are talking about is often a blessing, not a curse.
It‘s like little doors to insanity that I'd rather keep closed. -
CoreFusionX3480124dTypescript has had decorators since ages ago.
JavaScript not really. Only transpilers supported them. TC39 is still stage 3, and in any case will probably break all preexisting decorator implementations.
They are just higher order functions, and they make perfect sense in interpreted languages.
In the end they are mostly used for some kind of reflection, which you could do anyway in languages that do support reflection, but especially useful in type-erasured languages, since it makes it much easier to do reification of generics for library code.
Really not something non-lib devs should worry about. Just add it and watch the magic happen.

they added decorators to JavaScript ಠ_ಠ
that shit is why python made no sense to me, and why I wanted to avoid spring in java
guess my standards are zilch now though. you say jump I say how high
let's make JavaScript look like java. thanks nestjs. I guess since people are using it. the hosting options / fees for these suck. ew lol
gonna just make something stupid with it, that won't be hosted anywhere because heroku banned me ages ago for having actually useful websites
random