Live data from Hacker News

Why junior developers are learning bad habits from Angular

javascriptkicks.com

11–20 of 138 posts

Re: Why junior developers are learning bad habits from Angular

#11
post #7

The page is not loading properly for me (on a Windows laptop with Chrome). When I use the given link I get "500 - InternalServerError Something went horribly, horribly wrong while servicing your request. We're sorry :-(" and when I go via javascriptkicks.com it keeps loading and never completes.

I somewhat assumed that the 500 error was evidence of the post's title, heh.

Re: Why junior developers are learning bad habits from Angular

#12

The central problem with Angular is what is says about the software industry in general - that a framework so fundamentally and ridiculously flawed could invite such wide appeal suggests that many people have absolutely no idea what they are doing. The thousand monkeys approach to engineering has wide implications for security and safety of systems that we rely on. There is simply no way that you can say that you kno…

Thats a little hyperbole. I "support" it in that its an easy way for someone to make a typical web application without having to know the details of call vs apply, arguments, prototypes, etc, or writing a lot of boilerplate. So in that way I guess angular is for people who don't want to learn "javascript" - and thats what you see it being used for generally anyways.

Re: Why junior developers are learning bad habits from Angular

#13

The central problem with Angular is what is says about the software industry in general - that a framework so fundamentally and ridiculously flawed could invite such wide appeal suggests that many people have absolutely no idea what they are doing. The thousand monkeys approach to engineering has wide implications for security and safety of systems that we rely on. There is simply no way that you can say that you kno…

I liked Angular because it seemed to have a lot of the same ideas that polymer and other libraries had, but supported older browsers also. It seemed more pragmatic.

It is a bit annoying though that there's so much misinformation on the web. About the only source I trust right now is http://shop.oreilly.com/product/mobile/0636920033486.do

Re: Why junior developers are learning bad habits from Angular

#14
(sorry if this comes off a bit snarky)

"Overuse of the eventing system ($watch, $emit, $broadcast) leading to performance problems and memory leaks and not realizing it or being able to debug it"

Blindly overusing most features in frameworks or libraries can cause performance problems. Which memory leaks?

"Writing Controllers and Directives that take dependencies which make them nearly impossible to test."

Doesn't dependencies in general make any code harder to test?

"Views that are heavily dosed with logic - but more on that later"

I certainly don't feel my views are dosed with logic? Which kind of 'logic' are you referring to here? Is there something preventing you from moving your logic outside of the view?

"Their first experience of DI is quite often that in Angular and it's horribly broken. Since the "patch" which fixed the minification issues, it's still really just a square peg in a round hole with woeful support for scope and lifetime and features which most DI gives you for free such as child containers. They end up hating DI and shy away from it on other projects."

This seems like wild speculation here, as well as not being very specific (how is it broken?). I'm sure DI in Angular could have been done in a more elegant way (I have no idea how), but I don't seem to run into any problems.

"Strange bugs that (when called over) have us all scratching our heads until one of use realizes - oh yeah, sorry we forgot to mention that pretty much everything passed around is global, and Directives etc. aren't namespaced, so I see what's happened - you've got a naming collision there"

Not sure what to respond here - you had a bug in your code and discovered it was due to naming collision. Do you run into this daily? I've run into 'strange bugs' or at least hard-to-diagnose bugs in almost every framework or library I've used.

None of these issues seem especially unique to Angular. I'm not saying Angular is a perfect framework, but my own experience have been mostly pleasant, and I don't feel that there is anything in particular in Angular vs. other frameworks or libraries that encourage bad behavior - juniors or seniors.

Re: Why junior developers are learning bad habits from Angular

#15

The central problem with Angular is what is says about the software industry in general - that a framework so fundamentally and ridiculously flawed could invite such wide appeal suggests that many people have absolutely no idea what they are doing. The thousand monkeys approach to engineering has wide implications for security and safety of systems that we rely on. There is simply no way that you can say that you kno…

Settling for JS in the first place says something about the software industry in general. Let alone any MVC frameworks-of-day.

Re: Why junior developers are learning bad habits from Angular

#17
post #7

The page is not loading properly for me (on a Windows laptop with Chrome). When I use the given link I get "500 - InternalServerError Something went horribly, horribly wrong while servicing your request. We're sorry :-(" and when I go via javascriptkicks.com it keeps loading and never completes.

It's not the browser, it's a server error.

Re: Why junior developers are learning bad habits from Angular

#18
post #11
post #7

The page is not loading properly for me (on a Windows laptop with Chrome). When I use the given link I get "500 - InternalServerError Something went horribly, horribly wrong while servicing your request. We're sorry :-(" and when I go via javascriptkicks.com it keeps loading and never completes.

I somewhat assumed that the 500 error was evidence of the post's title, heh.

Seriously. Why do you need to run a shitload of JavaScript just to display a damn article.

Re: Why junior developers are learning bad habits from Angular

#19
post #7

The page is not loading properly for me (on a Windows laptop with Chrome). When I use the given link I get "500 - InternalServerError Something went horribly, horribly wrong while servicing your request. We're sorry :-(" and when I go via javascriptkicks.com it keeps loading and never completes.

Refreshing the page worked for me.

Re: Why junior developers are learning bad habits from Angular

#20

Is there a way to open this full-screen? I find the pop very distracting.

yes I'm working on that this weekend - also in an effort to fix the mobile issues. Full posts will display on the page on their own instead of the side bar like link stories appear
Post reply on HN