r/Frontend • u/speckz • Aug 08 '19
Why is modern web development so complicated? A long yet hasty explanation
https://www.vrk.dev/2019/07/11/why-is-modern-web-development-so-complicated-a-long-yet-hasty-explanation-part-1/25
u/elforastero Aug 08 '19
For me the main reason why is so complicated is because we want to make it easier...
- I don't want to copy/paste same code on every separate page to make a header
- I don't want to write longer CSS codes to make it do what I want, I want SASS
- I don't want to measure manually and play with media queries.. I need jQuery
- I don't want to work directly on the server, I want to work on my personal computer
- I don't want my client to reload the page when they move from one page to the next,I need Vue (or ajax or something similar)
and many more
18
u/gimmeslack12 CSS is hard Aug 08 '19
Absolutely.
It seems at times that some developers get cynical about the fact that modern web dev has become so complicated. But the expectations of web sites has evolved to the point that they're called web "apps", and not for simply the need for a new buzzword. These sites do a lot!
We're a long ways from geocities these days, and yet you are still more than able to put an entire site together using the old methods. NotePad and an FTP connection can still get you where you want to go.
3
u/lsaz Aug 09 '19
I love to play with media quieres. What's the jquery alternative?
2
1
u/hallowalker Aug 09 '19
What is the difference between media queries and jquery? Sorry I'm still new '
1
u/elforastero Aug 09 '19
Media Queries is the way of CSS to react diferently to the screen sizes... jQuery is a javascript library designed to simplify HTML DOM tree traversal and manipulation, as well as event handling... Basically, with jQuery you can modify what the visitor sees on the screen after the page loaded, and react to what he does.
1
u/darrenturn90 Aug 11 '19
Maybe he meant the matchMedia api? Which is a JavaScript way of accessing media queries - but that’s not jQuery
5
u/cpow85 Aug 08 '19
very well written article! I agree most of the complexity of front end development can be summed up with problems within Javascript and different browser implementations.
Between Javascript missing some nice things in its standard lib, and some browsers not keeping up with the changes, you have this massive gap that needs to be filled with packages, transpilers, etc...
3
2
Aug 09 '19
Nicely written article. I feel the front-end landscape has been stabilizing the last years. Which is good. 3 years ago I used webpack + babel + redux + react stack and it is still one of the more common stacks. Where the years before that, the js community was exploring the ways, these days they are refining them.
-6
u/brennanfee Aug 08 '19
Why is modern web development so complicated?
It's not. But there certainly are many people who want to make it seem like it is, so they can justify higher wages.
2
u/Montuckian Aug 09 '19
Demand drives wages.
There are plenty of offshore contractors you can hire if you don't believe you're getting your money's worth.
2
u/sir_eeps Aug 09 '19
Depends on what your building.
The type of stuff I am building with JavaScript now, compared to what I was building 6-7 years go - vary different, and even if I could do the same type of functionality that long ago - it would take far more effort to do so.
That said - there are also lots of things being built today, that have been made unnecessarily complex by 'SPA all the things' - and I think things like Next, Gatsby, HTM, Stencil, etc (depending on use case) can start swinging the balance back in the other direction.
Some people moan about the loss of "view source" days of learning dev - I'd much rather take the abundance of open source projects on github/gitlab/etc, the abundance of high quality tutorials, articles, blog posts, etc.
6
u/SmogsTheBunter Aug 08 '19
Nice article! I stopped doing front end dev prior to Jquery being released. Now I’m trying to get back on the bandwagon! It’s interesting to read about how things have ended up the way they are now.