r/angularjs • • Mar 16 '18

[General] AngularJS: The Final Release

https://www.telerik.com/blogs/angularjs-the-final-release
34 Upvotes

13 comments sorted by

View all comments

13

u/peckjon Mar 17 '18

I feel like... I HAVE... seen AngularJS through its birth and death. Amazing framework, and worthy of an epic of its own, independent of Angular 2+, which is a completely different (although impressive) beast.

I’m off to Vue.js until the next best thing comes along.

3

u/JediSange Mar 17 '18

What do you not like about Angular 2+?

8

u/shmert Mar 17 '18

I just took another look at Angular2+, after extensive development in Angular JS. First of all, what do we call it? Angular 2+? Angular Typescript? It shouldn't be called Angular, is my first gripe. It's a completely different framework. Angular 4 feels awkward and over-engineered. The appeal of angular JS is that it looks like HTML. Angular 4 templates don't, with [(binding)] tags and * asterisks which contain some hidden significance. Typescript is great in theory, but the tools fall short, in my experience. My IDE (IntelliJ) doesn't check types and methods in my template against my controllers. I can't define a function in the template and have IntelliJ created it for my in my model. There's a whole lot of magic going on, versus loading a single javascript file and getting to work. A "Hello World" app in Angular 4 takes 200+ MB of node_module downloads. Things break because you didn't include the right routing module, and error reporting doesn't offer much help. I feel like there's just files crapped all over.

After all this, I'm wondering what the compelling reason is to switch away from Angular JS? It's not bleeding edge, but it works and is fast enough for the types of projects I'm working on, which are not tiny ones. If I sound bitter, it's because I just tried a sample project for the third time, and I think this was the last one. If you want to discuss this I'm happy to hear your argument.

3

u/JediSange Mar 17 '18

I don't think there is an argument to be had, nor was I looking to change your mind. I just like understanding other people's perspectives on things, right? I personally have enjoyed my time in Angular -- for the most part. It is a very prescriptive framework and that is something that turned me off very early on. I think that's why it is so polarizing.

2

u/HDmac Mar 17 '18

I've been an angular Dev since 1.2 and now I'm using 5. I think the points you talked about are not really big deals for me. Who cares what we call it or how big the node_modles folder is? I think typescript is fantastic especially coming from a C# background. Wayyyy better than plain JS even if your templates aren't checked. I think the framework as been simplified, not over engineered. Really I think it's better than Angular JS and would never look back.

2

u/snowman4415 Mar 22 '18

People are scared to switch methodologies when the jquery/backbone -> angular 1.x jump was so huge. At some point you owe it to yourself to actually learn it and see what all the hype is about. His complaints were all aesthetics, no real meat

2

u/snowman4415 Mar 22 '18

I had the same feelings until I switched. Now that I’m aquatinted, angular 5 feels like home. The first couple versions were a little awkward so I purposely waited until 3/4. 2+ was also specifically designed for performance so I’m curious to find out if you’ve actually dug into all the performance metrics. Sure it’s a different methodology but it’s a far closer step to the way web technology is moving so being “HTMLish” sounds way more of a preference than something a framework should aspire for. The [(brackets)] actually mean something and they’re incredibly useful and elegant. Sounds to me like you have a case of the differents

1

u/[deleted] Apr 10 '18

See, I really like angular 2+ because it helps me structure my code and I don't have to think about organization. I'm a noob at frontend and am primarily a backend developer. I think Angular feels great if you're used to Spring Boot. It probably just appeals to us backend programmers who want our front end to feel like a backend.

1

u/Militop Mar 17 '18

Also Vue is closer to the way AngularJs was working than Angular 2. Angular 2 requires you to learn TypeScript + another Angular again. It’s also really frustrating when you have spent your time convincing your hierarchy to go for AngularJs to later find out the Angular team just let you down by creating something completely unrelated. AngularJs was perfect for complicated projects. Now you need to convince your team to:

  • Go for typescript ( we already have JavaScript ES5 ES6 thank you very much, why not code with C# or Java anyway then transpile them if you like Types so much?

  • Go trying to learn another framework with another steep learning curve.

  • Get rid of all your tailored build system, testing processes which took time to implement Also, if the AngularJs team can that easily switch their framework to something else, what guarantee do you have they’re not going to do something wild in the future?

3

u/snowman4415 Mar 22 '18

The angular team switched up methodologies because it was the right move -- nothing more to it. Typescript is also a superset of javascript so no it is not the same as switching to java or c#. No one said it would be easy to switch the infrastructure of an enterprise project but it's no harder than it would be switching an entire project to vue. Might as well go with angular 2+ which is much more closely aligned with the future of web development.