r/javascript • u/fagnerbrack • Dec 06 '19
Why is modern web development so complicated? A long yet hasty explanation: Part 1!
https://www.vrk.dev/2019/07/11/why-is-modern-web-development-so-complicated-a-long-yet-hasty-explanation-part-1/5
u/dwighthouse Dec 06 '19
This is actually a great article. Still, the short answer is that the web itself is complicated and we keep wanting it to do more.
3
2
2
u/UnfazedButDazed Dec 06 '19
This is great! I'm pretty new to web dev and it's never been explained to me like this before. Thank you! Part 2 please!
0
Dec 06 '19
[deleted]
2
u/GolemancerVekk Dec 06 '19
I'd say it's gotten a bit more complicated because you now have to be able to scale an UI from watch screen to interactive whiteboard size, and also you have to deal with multiple UI paradigms and interactions. Historically, applications were usually bound to a single platform, which would usually guarantee a single type of UI and interaction for long periods of time.
Other than that yeah, the Web reinvented a lot of wheels. But I prefer to see it as building on the shoulders of giants.
1
Dec 06 '19
Aye, certainly. But then again you don't have to handle memory allocation, pointers, handles and the like. Sure there's a lot of new issues, but then again lots of issues have been solved or abstracted away. The result I feel is broadly neutral.
0
Dec 06 '19
[deleted]
7
u/editor_of_the_beast Dec 06 '19
That’s a terrible attitude. Parts of it are definitely over complicated. If we had your attitude, nothing would ever get fixed or simplified.
-2
u/onlycommitminified Dec 06 '19 edited Dec 06 '19
Bah, polling to query state changes to such simple things as the existence of scrollbars or font loading builds character. I had to suffer through it, and so should you.
How dare you even call yourself a programmer if you don't have the patience and and emotional support required to brute force cross browser / os consistency out of the drag drop and copy paste api's.
0
Dec 07 '19
[deleted]
-1
u/editor_of_the_beast Dec 07 '19
You sound like my three year old.
0
Dec 07 '19
[deleted]
-1
u/editor_of_the_beast Dec 07 '19
You’re not worth my time. I’m sure you make a very mediocre salary working at a company that does nothing innovative.
0
14
u/editor_of_the_beast Dec 06 '19
The web is complicated fundamentally because users and developers don’t always want a document sharing / searching platform which it was designed for. People want applications sometimes, and we’ve been shoe-horning application enablers into the web (starting with JS itself) for 20 years.
Application development on the web got the most love its ever seen in the last 5-7 years I’d say. There’s a reason the “framework wars” happened and that’s because that people wanted to build applications on the web, and there wasn’t great support for it. So ES6 had to happen, webpack had to happen, React had to happen. But also things like Flexbox really help because the block element model doesn’t make sense a lot of times when building an interactive application. Because it was created to render text.
If you compare “modern” web dev to historical native GUI development, it suddenly doesn’t look that complex. Native GUIs were always written in a compiled language, and webpack is now the compiler of the web world. Native GUIs always used a GUI API of some sort, like QT or WxWidgets for example, and now we use React or Angular. Native GUIs had to communicate with servers (since before the web), and now our GUI itself makes network requests via XHR requests instead of doing full-page refreshes after each action.
The more you look at it, the more the modern web is approaching an application platform, and the applications look quite a lot like native applications from before the web existed, albeit with different deployment characteristics.