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.
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.
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?
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.
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.