Decorators are coming to JAVAscript
@Meech_Ward4.9K followers
295,223 views
37 Comments
Comments from the original post on X (Twitter)

@dreamsofcode_io
Finally living up to the Java standard
75 likes

@Meech_Ward
Putting the Java back in JavaScript
48 likes

@dreamsofcode_io
It’s about time someone did it.
5 likes

@itsnoahd
I feel as though we dont need this
47 likes

@Meech_Ward
You are smart
5 likes

@sebastienlorber
This is a bit misleading The proposal has existed for years already, progresses slowly, and only covers classes TC39 may actually downgrade the class Decorators proposal in the current meeting 😅 Stage 3 ➡️ stage 2.7
36 likes

@__cski
I hate decorators, hope they don’t become widely adapted.
7 likes

@WebDevCaptain
I guess Nobody is writing new code in JS, it's all TS compiled to JS, so this will mostly be used in tooling so that no transpilation is needed for this feature now.
7 likes

@complex_maths
Python bros rejoice
3 likes

@theozero
How do you feel about decorators in your .env 🧙♂️✨
3 likes

@singhijohn89
Is it native? I remember I used it years ago.
3 likes

@Meech_Ward
almost native to js:
14 likes

@niceEli1
We need them on normal functions too though, not just class methods
2 likes

@MattIzKapsalon
This is nothing new and has been a topic since the late 2010s. It's been in Typescript since like 2015 even.. I'll believe it when I see it when it hits regular JavaScript. I love the feature but it's not part of JS yet
2 likes

@Skuiggly
still dont understand the point of this syntactic sugar. just compose functions and bind the composition to a new variable? is there a class or oo reason for why you cant just do that with methods?
2 likes

@_aprillicious
Can’t wait to recreate the monster with dozens of decorators.
1 like

@malfunkt1on
I had to work on a codebase where the original author thought the same and decorators were littered throughout codebase. It was a hot babel transpiled mess that I spent months untangling. That was 4 years ago. Don’t use unreleased features.
1 like

@nandoolle
@samsantosb “how to do the log monad in the most convoluted way possible”
1 like

@m1nd_killer
0 classes usage in last 4 years, tho 🙃
1 like

@javidvalgix
@nestframework what you think about that?
1 like
















