Hacker News new | ask | show | jobs
by gherkinnn 1616 days ago
I recently listened to an interview with Igor, Angular’s inventor.

In it he talked about how Angular 2 pushed decorators in to TS. And to this day, Angular is the only major JS thing that I can think of that uses decorators.

Creating that ng-abomination was not enough. No. Google also had to poison a perfectly fine language.

2 comments

The latest versions of Ember.js (Octane) have built-in decorator support and they're discussed in the RFC:

https://github.com/emberjs/rfcs/blob/master/text/0408-decora...

https://guides.emberjs.com/release/in-depth-topics/native-cl...

NestJS makes pretty heavy use of decorators and I really dislike it because of it, it reminds me of reading Spring Java code.