[Rant] Angular 2 is a disaster
1 14 Nov 2017 01:58 by u/is_pepsi_okay
I am open to new ideas and technologies but generally speaking I think websites should be served without a framework. My main reasons are:
- time pissed away learning horizontal trends
- increase weight of the site
- they are instantly legacy code because in a year there will be a new framework
- they obfuscate simple tasks
- hive mind uses x framework because they think it makes them leet. If everyone drinks the koolaid who will be left to argue?
- regular javascript works exactly the same and you could spend your time mastering that instead of some dipshits idea of what good code is
- patterns that get used enough on a website CAN be reinvented at significantly lower cost in time, file size, and maintainability than using a framework.
So I can give you a 5kb website with no bullshit that will be readable in 10 years by anyone who knows JavaScript. ...or I can use something like Angular 2. ...Jesus ...Fucking ...Christ
I cannot even describe what a pile of dog shit that framework is. You use a command line tool to add classes. The whole thing is done in typescript. They add so much shit like @decorators that it doesn't even resemble javascript, they do shit like this ...and if I were a teacher and one of my students did something like this I would smack the shit out of them
<li *ngFor="let foo in bar"></li>
Its like they just do whatever they want. Its like a kid with crayons. Its exactly what I would have made if I were trying to demonstrate bad design.
Web development is infected with some kind if weird mental disease. I do not see it getting better. I see myself getting out.
14 comments
0 u/Morbo 14 Nov 2017 02:30
Congratulations! You are now a seasoned programmer!
The anger you are feeling towards frameworks and trendy web bullshit is normal once you cross the line into being a seasoned (or salty) coder. You have recognized that this over-reliance on frameworks is complete insanity and you would be better off just writing your own lightweight and purpose specific code instead of including eight frameworks and dependencies, a convoluted tool chain and right-out-of-the-box obsolescence. You still have a couple of major tests to overcome on your road to greatness though: 1.) abstaining from making your own framework that works the way it should and 2.) resisting the urge to try to convince the less experienced coders that you're right and they're wasting their time. If you can avoid banging your head against these walls and instead just making things work the way you want them to, then you will grow a long, gray beard and will basque in the glow of your own enlightenment. You're on the golden path now. Follow it with confidence, my son.
0 u/is_pepsi_okay [OP] 14 Nov 2017 02:43
Listen to me. If I ever write a JavaScript Framework shoot me. I've either lost my mind or have a Ceti eel in it. In either case I trust you will do the right thing.
0 u/Morbo 14 Nov 2017 03:47
To pull a quote from A L I E N S:
0 u/MyWaifuIsNotASlut 14 Nov 2017 03:58
but you can put all of your frequently used functions in it, and make it open source so that the community can enjoy and enhance it for you! you'll save so much time having everything you need for development in one package that you can effortlessly import with a single command using your favorite package management tool(s)!
0 u/Morbo 14 Nov 2017 05:24
I'm going to strangle you with my long, gray beard.
0 u/roznak 20 Nov 2017 16:42
I am impressed in the wisdom of you answer.
0 u/justsayingmayne 14 Nov 2017 04:00
The only reason I learned react was to try it out and make a web app, but I could've build it myself in the same amount of time it took to learn this convoluted bullshit. Granted it does bring some nice features to the table when you use things like redux, but I'm already sick of JS tbh. Gonna head back to java / c++ after I'm done with this bullshit
0 u/Drenki 14 Nov 2017 04:59
welcome to voat
0 u/TheBuddha 14 Nov 2017 06:17
Isn't web assembly supposed to fix this?
0 u/MrKequc 15 Nov 2017 03:06
Tools are there to help you build something. The central problem is that people are using a sledge hammer, or a nuclear bomb so to speak, to build an about page. If you need a heavy tool like Angular or similar, then you need it and it's useful. It will get you to your goal. Recently I've found that Vue/Vuex are awesome. If what you need is a static page that basically is a spaceship it's fantastic.
If you've got a full backend, with REST and html processing without a massive amount of movement on the page you don't need it though. It just depends what you are building and what you need.
I hate it when I load someone's stupid programming blog and it's 20MB of Javascript. It looks stupid as hell. Hopefully recruiters start catching on to this instead of thinking it's impressive some day.
0 u/hellohardy 17 Nov 2017 09:33
I really don't know what to say, I am New in Coding and i started Learning React Native. So far it's Great. before i started Learning React native i was Learning Angular js and i think react native is much better than Angular.Js
0 u/rtos 17 Nov 2017 23:52
Yes, React is quite sane compared to other major frameworks. (I hesitate to even call it a framework.)
0 u/roznak 20 Nov 2017 16:41
I think it is a SCAM by coding schools to have a continuous cycle of people that needs to get reeducated every year an get a new certificate every year. You don't teach developers to code in these schools, you get them brainwashed into thinking that this is the only way to write code.
0 u/Tatsuya007 05 Feb 2018 04:03
I am very impressed, it is similar chia se acc dot kich