News for hackers. Stuff that matters.
Re:Web Programming Is Getting Unnecessarily Complicated by msane on Tuesday July 19, 2016 @01:23AM (#12119900)
Yup that's the argument mentioned: React is "simpler", "anyone can see"...

Brevity isn't simplicity. The simplicity is being easier to install, build, read about, debug, consume APIs with, send data between, talk about to other developers... and yes, "reason" about.

    myMod.component('Foo', {
      template: '<h1>{{$and.better.templating}} {{see()}}</h1>',
      controller: function() {
        var and = {this_one: 'does_stuff'};
      }
    });
Re:Web Programming Is Getting Unnecessarily Complicated by thegayngler on Tuesday July 19, 2016 @02:31AM (#12120181)
This is not easier to reason about than returning jsx IMO... It's only 1 of the ways to build an angular 2 component. The website tutorial is using decorator syntax. Typescript Angular 2 documentation. What's wrong with just learning JavaScript and less Angular specific syntax and tooling.

Maybe I'm wrong but I feel like Angular likes to force projects to become big monoliths where people who don't understand the problem being solved are trying to architect a solution for all of the problems.

React does have jsx shock and JavaScript tooling fatigue. However, now that React is mature JavaScript tooling decision fatigue should be less of an issue. You aren't relying on one company to solve problems. You have a community solving problems for themselves. As they need it they can add it or take it away.

Re:Web Programming Is Getting Unnecessarily Complicated by warfangle on Tuesday July 19, 2016 @07:07AM (#12121021)
Why aren't you just using an interpolated string?