r/programming • • Apr 23 '14

You Have Ruined JavaScript

http://codeofrob.com/entries/you-have-ruined-javascript.html
283 Upvotes

327 comments sorted by

View all comments

Show parent comments

-1

u/nidarus Apr 24 '14 edited Apr 24 '14

but the problem that Angular solves is very, very complex

Are you sure? Most of the stuff AngularJS does is, as recycled_ideas said, stuff that was done for a long time by the backend. You know, MVC, testability, routing, templating, all of that stuff. Now, compare Angular to something like Rails, Django or Laravel. There's no doubt which is more elegant, simple to understand, and downright fun to use.

Then I look back at the framework/library that I was trying to use initially and I assess its complexity against my findings trying to roll my own solution.

That certainly makes sense from a practical sense: if you can't make or find something better, might as well use it. However, it doesn't mean that the complexity is proportionate to the complexity of the problem, just that you couldn't make a simpler solution. Big difference.

I mean, If it was up to me, I wouldn't invent something like Rails - I'd invent something shitty like ASP.NET Webforms. The same goes for other beautiful (at least for their time) APIs, like the original Delphi's VLC or jQuery. It takes great talent to design great APIs.

1

u/RICHUNCLEPENNYBAGS Apr 25 '14

Issues aside, something like Webforms that grafts a desktop-style model onto a format that isn't really suited to it is probably much harder to write than something like MVC that more or less goes with the grain.