News for hackers. Stuff that matters.
Re:The State of JavaScript 2018 by sAbakumoff on Monday November 19, 2018 @07:33AM (#18485924)
IMHO Angular in its recent versions is the most simple front-end framework ever. It's not even JS anymore. It's type script + reactive framework. Those 2 things makes programming extremely easy.
Re:The State of JavaScript 2018 by nobleach on Monday November 19, 2018 @04:03PM (#18489740)
After having dropped Angular in the 1.3.x days, I was pleasantly surprised by how much it's changed. There are still a few mental concepts a new programmer would have to grasp (DI, observables, OO, type-safety) but overall, it's not too bad. I'm not sure I could call it "simple" though. Maybe I'm conflating simple with "easy". I'm of the few that still believe in Redux though. A one-way data flow, a finite state-machine, a new version of the state on every action.... that just defines "simple" to me. (not arguing at all)
Re:The State of JavaScript 2018 by sAbakumoff on Tuesday November 20, 2018 @02:35AM (#18492368)
All right, my background is 10 years of .NET programming where DI, OOP, type safety are fundamental concepts, so having these things in the front-end framework is extremely helpful.
Re:The State of JavaScript 2018 by tracker1 on Monday November 19, 2018 @12:55PM (#18488227)
I keep repeating myself here...

    import React from 'React';

    export default ({name}) => <p>Hello {name}</p>;
Now duplicate in Angular and tell me it's simpler.
Re:The State of JavaScript 2018 by sAbakumoff on Tuesday November 20, 2018 @02:36AM (#18492372)
If I were to write such an app, html + vanilla js is more than enough.
Re:The State of JavaScript 2018 by tracker1 on Wednesday November 21, 2018 @01:01PM (#18504636)
The point was in response to how "angular is the most simple..." where it is emphatically NOT so.
Re:The State of JavaScript 2018 by equasar on Monday November 19, 2018 @10:49PM (#18491693)
what's the point of this? I mean, Angular has its use cases aswell as React does. The point you are trying to achieve leads to nothing.
Re:The State of JavaScript 2018 by tracker1 on Wednesday November 21, 2018 @01:01PM (#18504625)
My point was, angular is emphatically NOT the most simple component option. I, personally, can not think of a single use case where Angular (any version) is a better option than React, Vue or Polymer.