Live data from Hacker News

Criticisms of Angular

leanpanda.com

1–10 of 150 posts

Re: Criticisms of Angular

#3
"With the next article we’re going to introduce you to React JS, [...] that have won us over entirely."

How can you take the article seriously with that kind of conclusion.

Re: Criticisms of Angular

#4

When the author doesn't understand the difference between a module system and a dependency injection system, it's hard to take the rest of what he says seriously.

They kind of solve the same problem, but in different ways. I, for one, think it's debatable if the 800 lb gorilla that is dependency injection has any merit in javascript.

Re: Criticisms of Angular

#5
post #4

When the author doesn't understand the difference between a module system and a dependency injection system, it's hard to take the rest of what he says seriously.

They kind of solve the same problem, but in different ways. I, for one, think it's debatable if the 800 lb gorilla that is dependency injection has any merit in javascript.

DI is not an "800 lb gorilla". If anything, certain implementations of DI frameworks are (I'm looking at you, Spring).

Re: Criticisms of Angular

#6
post #4

When the author doesn't understand the difference between a module system and a dependency injection system, it's hard to take the rest of what he says seriously.

They kind of solve the same problem, but in different ways. I, for one, think it's debatable if the 800 lb gorilla that is dependency injection has any merit in javascript.

I like Angular's DI. It makes it easy – to me, but YMMV - to organize my thoughts and my code.

Re: Criticisms of Angular

#7
post #5
post #4

Earlier quoted context omitted.

They kind of solve the same problem, but in different ways. I, for one, think it's debatable if the 800 lb gorilla that is dependency injection has any merit in javascript.

DI is not an "800 lb gorilla". If anything, certain implementations of DI frameworks are (I'm looking at you, Spring).

I disagree. They were a solution to the inflexibility of rigid languages like Java, but seems entirely alien in the context of Javascript. A DI framework adds a load of indirection.

Re: Criticisms of Angular

#9
post #4

Earlier quoted context omitted.

They kind of solve the same problem, but in different ways. I, for one, think it's debatable if the 800 lb gorilla that is dependency injection has any merit in javascript.

I like Angular's DI. It makes it easy – to me, but YMMV - to organize my thoughts and my code.

Fair enough. It's probably a matter of taste to some extend.

I generally don't like too much structure unless there are clear benefits and DI doesn't seem to hold up on that scale. The problem it's solving has traditionally been solved with a dozen global variables. And while the purists may scuff at this, I find that in practise it's never an issue in otherwise well structured code.

Post reply on HN