News for hackers. Stuff that matters.
Re:TC39, ECMAScript, and the Future of JavaScript by Matthias247 on Tuesday June 27, 2017 @05:22AM (#14643595)
In angular2 they are for example used for dependency injection, which works really well.

Other use cases that I see are for example automatically generating [de]serialization code for members based on decorators and their values (like how Annotations are used in C# and Java serialization frameworks or tags in Go).

There are also web frameworks popping up which use decorators for routing and parameter binding in a similar fashion how some Java frameworks work.

Re:TC39, ECMAScript, and the Future of JavaScript by abritinthebay on Tuesday June 27, 2017 @11:41AM (#14646419)
So syntax to his bad application design & code patterns behind? That’s an argument against them surely?