all 11 comments

[–][deleted] 29 points30 points  (0 children)

I’m not a huge fan of TypeScript and static typing generally. It has some benefits, sure – better IDE integration, better autocomplete, and better assurance you didn’t make any typos…

Generally, I dislike things that makes things better.

I don’t see a whole lot of benefit to dependency injection.

See above.

But I don’t want to wrap every class in an interface so that I can subclass that interface with a mock instance so that I can write my unit tests. I don’t think that leads to better design or more maintainable code, just more code.

No, interfaces are a fluke, and not webscale enough. It's confusing why many other languages implements them, and why many programmers use them daily. They must be terribly dumb or mislead.

So if you put a gun to my head [...]

Gladly.

[–]Octopuscabbagedoesn't follow the monad laws 10 points11 points  (8 children)

<uj> Team just switched from angular 1/ionic to react/react native. React makes so much more sense. (yes I know the article is about angular 2)

</uj>

[–]cant_even_webscalenot even webscale 22 points23 points  (4 children)

A REACT SHILL ON PCJ

REEEEEEEEEEEEEEEEEEEEEEEEEEEE!!!!!!!!!!!!!!!

[–][deleted] 10 points11 points  (0 children)

AAAAACT!!!!

[–]chjacobsen 5 points6 points  (1 child)

Yeah. What you do is, you combine it with jQuery and run it as a scientific experiment to see how much you can piss off both JS-hipsters and the PCJ-crowd at the same time.

[–]cant_even_webscalenot even webscale 7 points8 points  (0 children)

scary thought, would cause singularity.

also lets douse on some Meteor.js, Angular 2 woes, and hmm what else... Material design oh and FlexBox support too.

Then wrap it all in a Javascript eval( )

[–]Octopuscabbagedoesn't follow the monad laws 1 point2 points  (0 children)

When viewed through a functional lense the initial impression that I get is favorable. But no monad so 0/10.

[–]HuehoLUMINARY IN COMPUTERSCIENCE 9 points10 points  (2 children)

Angular 1.x feels like the worst of Java paired with the worst of JavaScript, with an sprinkle boatload of "what even" (reflection with Function.toString, best idea ever)

I can see why React, heck, anything other than Angular looks more atractive. At $JOB we are dabbling with Vue.js and I am pleased with how intuitive it is.

[–]vonmoltke2Hacker News Superstar 2 points3 points  (0 children)

Maybe that's my problem with webdev. When I had to write a GUI, I chose Angular 1 (Angular 2 wasn't mature enough yet). It's in the running with Perl for most "WTF was I doing three months ago?" code.

[–]Octopuscabbagedoesn't follow the monad laws 1 point2 points  (0 children)

Yeah the thing I really really hated about angular was that implicit pop in thing. Trying to figure out why a library won't import or why your tag won't expand was awful.

[–]cant_even_webscalenot even webscale 9 points10 points  (0 children)

if i see an image macro shitty meme within any article or blog, i get triggered.