r/webdev • • Oct 18 '18

Angular 7.0.0 released

/r/Angular2/comments/9pbn4f/angular_700_released/
223 Upvotes

148 comments sorted by

View all comments

-16

u/colly_wolly Oct 19 '18

Bloat and complexity. An example application that we created in a course I am doing weighs in at 208Mb. It only has a few basic form elements in it and some basic validation.

9

u/[deleted] Oct 19 '18

How is that even possible?! Did you use electron? Did you count node_modules folder?

-13

u/colly_wolly Oct 19 '18

Did what the instructor told us. (It probably is including the nodejs folder).

ng new npm install ng generate module (three times)

There is an unbelievable amount of code generated. The most valuable thing I have learned from this course is not to bother with Angular.

14

u/anubgek Oct 19 '18

The most valuable thing I have learned from this course is not to bother with Angular.

This comes off as somewhat naive. Especially when you previously state that you measure the size of the application by looking at the development folder

(It probably is including the nodejs folder).

Are you then saying you are not even sure what's included in the size you're so adamant about criticizing? Have you measured the size of the production package that would go to clients?

Yes there are a lot of dependencies but this is not for no reason. This allows for immense functionality and the ability to produce efficient compiled code that has all the bells and whistles that Angular provides.

I would wait until you're more experienced with web development in general before making these kinds of judgement calls as they don't appear to be coming from wisdom, but an initial emotional reaction to complexity you're not yet familiar with.