Live data from Hacker News

Why junior developers are learning bad habits from Angular

javascriptkicks.com

41–50 of 138 posts

Re: Why junior developers are learning bad habits from Angular

#41

I wish I could go back in time and strongly oppose AngularJS at the last place I worked. Knowing what I know now, it was such a bad idea. I also made the mistake of adding it to a resume, too, so I have gotten too many recruiter emails about AngularJS jobs. AngularJS has an amazing success/failure story. The developers have managed to get their technology used by so many web development teams whilst being extremely o…

The overengineering actually led to success, as it resulted in a batch of non-JS devs thinking that they had discovered some secret magic. They went on to write a bunch of blog posts, which made people think it was good.

Re: Why junior developers are learning bad habits from Angular

#42

I wish I could go back in time and strongly oppose AngularJS at the last place I worked. Knowing what I know now, it was such a bad idea. I also made the mistake of adding it to a resume, too, so I have gotten too many recruiter emails about AngularJS jobs. AngularJS has an amazing success/failure story. The developers have managed to get their technology used by so many web development teams whilst being extremely o…

I agree with you on so many very painful levels. :/

Re: Why junior developers are learning bad habits from Angular

#44

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…

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.

I have yet to see an Angular project that doesn't qualify as tiny. For that purpose -- banging out some internal CRUDish app -- if it allows people to create working success, then it's a success. Instead people are busy arguing over the semantics of over-engineering a couple of text boxes, and that really is what leaves me boggling. Though of course, as is the nature of these things, there are over-dramatizing camps, and one month Angular is the greatest thing ever on HN, the next it's the demonstration of all that is wrong in the world. The reality, as always, is somewhere in between.

It wasn't that many years ago when people didn't even understand basic concepts like closures in JavaScript, or the power they bring. Now people are viciously arguing about the edges. It's all very surreal.

There is simply no way that you can say that you know Javascript and at the same time support Angular.

One of the most common features pushed by just about every framework (just saw it about React yesterday) is desperately, and leakily, trying to abstract Javascript into some sort of classic OOP language. Some of the most popular tools allow you to write in various compiled-to-JavaScript languages (TypeScript, CoffeeScript, GWT, etc). It's all very strange. But again, if JavaScript is treated just as a runtime, and if it works for a team, there is some measure of success.

Re: Why junior developers are learning bad habits from Angular

#45
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.

Very distinctive error page; graphics by Matthew Inman (The Oatmeal), as produced by nancyfx ( http://nancyfx.org/ ).

Re: Why junior developers are learning bad habits from Angular

#46

Earlier quoted context omitted.

This is a rather surprisingly and unnecessary harsh comment. Would you like to explain why do you think Angular is so flawed?

For one, it is incompatible with the whole open web stack. You cannot use Bootstrap with it. And if you decide to move off Angular, you are going to be in a world of pain. Second and worst of all - it is a monolithic framework. As long as you just do things the "Angular Way" - you are fine. If you want to change or override something, you are in a world of pain. If you are learning Angular - you are hardly learning J…

Isn't this just criticism of frameworks? If I want to do something a framework doesn't support I'm going to be in "a world of pain" but that's the cost of using a framework.

Re: Why junior developers are learning bad habits from Angular

#48

It seems like what junior Angular devs really need is a post showing examples of both what NOT to do and also what to do INSTEAD. I think the difficulty of Angular is largely you have so many tools available but it's hard for a junior developer (like myself) to recognise when each should be used.

I agree, and this article does not really help. I feel that part of calling yourself a senior developer is teaching junior developers how to write great software.

Re: Why junior developers are learning bad habits from Angular

#49
post #26

Earlier quoted context omitted.

After I turned off µBlock, it loaded alright(Chrome/OSX 10.8). I know a lot of people here love them an adblocker, so that might be the problem. It seems to be blocking a JSONP call somewhere, and thus the loader spins forever...

Using µBlock and loading

Might be a false positive on my part - between this and my phone, the thing is wildly inconsistent. Not sure this website is a great advert for the whole "everything should be a SPA otherwise you're a dinosaur" point of view...

Re: Why junior developers are learning bad habits from Angular

#50

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…

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. I have yet to see an Angular project that doesn't qualify as tiny . For that purpose -- banging out some internal CRUDish app -- if it allows people to create working succ…

> trying to abstract Javascript into some sort of classic OOP language

Which is wrong. And, I think, stems from the way CS is taught. Everyone starts with Java and learns that programming is all about knowing that a dog and a cat are just subclasses of the 4-legged-creature class, which is itself inherited from the mammal class. Wait no, that's not right now is it?

But it's how people learn.

JavaScript is a beautiful glorious language when you realise it's a weird hybrid between functional and OOP and is messy enough to let you do just about anything. It reminds me a lot of what I hear about Scala ...

Post reply on HN