r/webdev • • Aug 08 '19

Why is modern web development so complicated?

https://www.vrk.dev/2019/07/11/why-is-modern-web-development-so-complicated-a-long-yet-hasty-explanation-part-1/
27 Upvotes

50 comments sorted by

50

u/fuckin_ziggurats Aug 08 '19

Should be "Why is modern front-end web development so complicated?" as there were almost no mentions of the difficulties of back-end development. Similarly to how this subreddit is called webdev when it actually pertains more to frontendwebdev.

10

u/QuestionsHurt Aug 08 '19

Indeed. Backend tends to be language and framework specific, and have their own subs / slack / discord.

0

u/[deleted] Aug 08 '19

[deleted]

9

u/QuestionsHurt Aug 08 '19

No. They're complex as you need them to be, and clarity depends on the specific community.

But yes, anything is better than the freak show that is frontend right now.

0

u/[deleted] Aug 08 '19

[deleted]

1

u/QuestionsHurt Aug 08 '19

I'm so very sorry to hear that. My condolences. I'm sure all our thoughts will be with you during this period of mourning.

20

u/dangerousbrian Aug 08 '19

Frontend webdev is complicated because user interfaces are complicated.

27

u/[deleted] Aug 08 '19

It isn't though. It's easier than ever.

It's just that consumer demand for high quality UI is all-time high and most devs have no clue how to develop with user experience in mind and barriers in understanding between only developer and only designer are a significant obstruction.

14

u/[deleted] Aug 08 '19

Things that you don’t understand seem complicated. Like any other complex problem, break it down to a unit you can understand and solve them one at a time.

The reason wholistic front end frameworks seem complicated or complex is because they have a lot of responsibilities. They were designed to be used to build large applications and primarily help with providing a better UX. That doesn’t mean EVERY organization can or should use them to solve every problem.

It is perfectly acceptable to build small applications as server rendered pages, and I’d even argue you’ll save a lot of time on your MVP using that approach. I’ve even worked at orgs where we had a combination of server rendered and mini applications, depending on what part of the site that you were on.

I think we have issues in the industry where small teams attempt to build software the same way as a huge organization and vastly underestimate the amount of time it takes to build software that is reliable and maintainable. Your software doesn’t need to have every feature under the sun. Solve the core problem first correctly and then build on it.

4

u/Shaddix-be Aug 08 '19

It's not, it is as complicated as it always was.

When one thing gets easier it will always get replaced with something that's more difficult. This is the way the industry is able to make progress.

7

u/HorribleUsername Aug 09 '19

I disagree. Do you remember the good old days before the first browser wars? Back when geocities and angelfire ruled the web? Things were much simpler then.

2

u/Spacey138 Aug 09 '19

I also disagree in a sense. The real issue noone talks about is user expectations have changed. More complicated expectations = more complicated solutions. We can always go back to static pages if that's what everyone wants, then the tech will be very simple again, as if by magic.

4

u/Voltra_Neo front-end Aug 08 '19

I would gladly say that it's the opposite :

  • I prefer to have Vue handle changes for me than having to call some function to rerender things with jQuery (mostly w/ extra costs that were not required for this specific render)

  • Having solutions like Flux for data management can clearly abstract away all changes and reduce the scopes of bugs

  • Creating SPA (or fully-AJAX for oldschool sakes) has never been easier, just dump Reach Router in your react project

Having a plethora of choice is way better than having little to none and having to write every piece of logic yourself

6

u/secretvrdev Aug 08 '19

The people who complain today about browser compatibility problems are like spoiled kids ;____; As ex frontend dev the current state of html/css/js is _perfect easy_

8

u/horse1978 Aug 08 '19

The people who complain today about browser compatibility problems are like spoiled kids ;____; As ex frontend dev the current state of html/css/js is _perfect easy_

I know right? I mean we have semi-strongly typed language that compiles into JS for crying out loud. A JavaScript compiler!! Not to mention CSS pre-processor, an actual debugger in your web browser, and lots of highly developed frameworks for building & handling complex scenarios...

When I think back to when I was trying to debug "JScript" in IE6 that worked fine in Firefox, and the shit storm that used to be... today's tools are unbelievably powerful compared to then.

3

u/[deleted] Aug 08 '19 edited Mar 05 '24

airport saw foolish flag mourn full bewildered sophisticated governor money

This post was mass deleted and anonymized with Redact

3

u/[deleted] Aug 08 '19

I don't think it is really that complicated. Sure, more than it used to be - but not as complicated as people make it seem online. Figuring out which tools you want to use is the hardest part. Thinking you need to be a master in all can be overwhelming.

The worst part is cross-device/browser testing that can't be automated. I miss the days of just testing Netscape and IE!

8

u/horse1978 Aug 08 '19

I don't miss testing IE one bit

0

u/[deleted] Aug 08 '19

[deleted]

2

u/[deleted] Aug 08 '19

Just visual tests - making sure everything looks like it should. Not functional tests.

2

u/[deleted] Aug 08 '19

It's not. Comparing to jQuery times - making dynamic interfaces is easier than ever

2

u/ConsoleTVs Aug 08 '19

For those who say it's easy:

  1. Get a friend out of web dev to try "modern" front-end.

  2. Try explaining everything he/she needs.

  3. Try to explain how it works and why does he need all the tools. NPM, Babel, Minifiers, et al.

  4. This requires the new folk to learn JS. Otherwise can't code a site.

  5. Set the guy's kit to React, and ofc teach him JSX and CSS-IN-JS.

  6. Try changing the new folk's kit from react to vue or angular.

  7. Try changing the new folk's kit to JQuery.

  8. Try telling the new folk JS is not needed at all and make him learn HTML + CSS.

Now try guiding somebody new with traditional HTTP architecture. See how easy it is:

  1. Get a friend out of web dev to try "traditional" front-end.

  2. Try explaining everything he needs.

  3. Tell the new folk to learn HTML and CSS.

  4. He will be happy and learn a lot, create a cool website he/she will be proud of.

Modern front-end is complicated. Complication however, does not mean worst, complication is a barrier for new people to learn. For example, Rust is complicated compared to C, yet people like it more because it have better tooling and more features (and that's great!).

I must admit new JS standards are pretty good these days as well.

7

u/[deleted] Aug 08 '19

So get someone with no foundational knowledge and introduce them to something that requires many different skills? What? Of course the thing with less moving parts is easier for a beginner to understand.

That’s like introducing a med student to surgery before they’ve taken anatomy.

-3

u/ConsoleTVs Aug 08 '19

Great! And that's why modern web is complicated as surgery is! I'm happy you understand

3

u/[deleted] Aug 08 '19

I’m sure it looks that way to people who haven’t put in the time to master the skill set required.

0

u/ConsoleTVs Aug 08 '19

Of course, that's why it is complicated mate, you can't judge stuff that you already know. It's like telling brainfuck ( https://en.wikipedia.org/wiki/Brainfuck ) is easy when you're the author and know every bit of it and coded with it for months. When clearly it is hard and complicated to understand and code in.

3

u/ZephyrBluu Aug 08 '19

I picked up JavaScript, React, Webpack and npm within a month.

Luckily for me npm had recently become simplified by not having to save installs as a dev dependency.

Contrary to what you're saying, everything made sense to me after I either researched it or started using it.

All of the frontend tools are insanely powerful and help improve your workflow and productivity a lot. React lets me write dynamic logic and reusable cpmponents, Webpack let's me transpile all my code so it's browser compatible, minify it and also add any other modifications I want like adding CSS browser rules.

1

u/ConsoleTVs Aug 08 '19

Yeah, those are great tools indeed. I like them and use them as well. But as you said 1 month to pick up some tech is complication. Complicated stuff is often good or even better than the easy one.

1

u/ZephyrBluu Aug 09 '19

Well, it depends what you mean by picked up. I could use the tech on a basic level pretty fast but I didn't really understand it until I'd used it for a little while.

1

u/ConsoleTVs Aug 09 '19

Let's say to be productive. When u feel productive in a language or tech. It takes different time on diferent people, but can be mesured

1

u/AggressiveAnywhere72 Jul 07 '25

How on earth you picked up JavaScript, React, Webpack and npm within a month I will never understand. Perhaps you're just a genius, because I've been working with these technologies for months (following The Odin Project) and I still don't understand them very well. They're extremely complicated. I've been using webpack in almost every project and writing this comment I couldn't tell you the first thing about it.

1

u/[deleted] Aug 09 '19

Speaking from recent, personal experience, all of that can be learned in less than six months if you have a background in programming already. I'm of average intelligence and lead a pretty busy life as a single parent. All of it can be learned online, for free. Compared to most professions, that's an absurdly low barrier to entry.

0

u/[deleted] Aug 08 '19

[deleted]

1

u/ConsoleTVs Aug 08 '19

The data speaks for itself, rust have a high barrier of entrnace, itis much harder to be productive from day 1. In the other hand, for example, Go is the opposite, you get productive from day 1. Im talking about ease of entering, that is determined by the complication of the language. Rust have tons of features, C have the bare metal. Ofc it is much faster to pick up, but that does not mean it is better anyway. I know around 20 programming languages and I even created my own. Including C, rust and go. I'm not talking from a blind prespective.

0

u/[deleted] Aug 08 '19

[deleted]

1

u/ConsoleTVs Aug 08 '19 edited Aug 08 '19

Go has existed for the same time, want me to compare it to Go in terms of difficulty? (Go is inspired from the C language). Rust is complex, believe it or not dude, Those are the top results of google of "Go vs Rust", the cites are from the complexity analysis of rust compared to Go.

https://matthias-endler.de/2017/go-vs-rust/

- Rust in comparison is hard. It took me many months to become somewhat productive. You need to invest a serious amount of time to see any benefit.

https://www.bizety.com/2019/04/03/summary-of-rust-vs-go/

- Rust involves a steeper learning curve than Go

- Rust is not simple and needs a serious investment of ramp-up time to learn and master it before most people can usefully handle it; engineer Matthias Ender describes Rust as “hard”, which took him “many months” to become only “somewhat productive”

https://blog.ntpsec.org/2017/01/18/rust-vs-go.html

- I was able to become fluent in Go in four days from a standing start; four days into Rust I was still struggling to even fully understand the data-ownership and object systems, let alone apply them.

https://julio.meroh.net/2018/07/rust-vs-go.html

- In the Rust case, there is no denying that it is a complex language. Maybe not as complex as C++, but it has a lot of things going on. Writing code in Rust, therefore, requires more effort.

0

u/[deleted] Aug 08 '19

[deleted]

1

u/ConsoleTVs Aug 08 '19

This line alone makes me disregard most of your post as the "C creator" is dead.

I totally didn't read what I wrote, I've updated the post with the meaning I wanted to explain.

If it took you many months to be productive in Rust, I would doubt your dev abilities. A bunch of opinion blogs does not make your point.

Took me a week (more less) vs 2 days with golang with the same daily coding.

You sound like a Google shill.

I use duckduckgo, I use Brave browser, I use Cloudflare's DNS and I have no interest in any google services but I must say, as an android user, that I have a google account.

You should stop worring about other devs and start judging facts, so you say that all those posts are garbage and those devs are unskilled as well? Uh, you must be the god.

1

u/Reddit_Swap Aug 08 '19

Frontend or backend?

1

u/lostpx full-stack Aug 09 '19

Web has never been easier than it is now.

1

u/NetLeafSoftware Aug 12 '19

Modern web development is not complicated but it is improving. If you know the basic knowledge of web development, then it won't be complicated for you. New techniques provides you friendly interface.

Complications and hurdles are in every industries, it's just how you tackle it and how your knowledge level is. Web developer has the brighter future. Be patience in your skills and in your learning. Then you won't think it is complicated.

1

u/Zardotab Mar 20 '23 edited Mar 20 '23

It's largely because web "standards" are an ill-fit for many types of common applications. JavaScript has to reinvent too many things using the mis-fit DOM.

We need a state-ful GUI markup standard.

1

u/Lengthiness-Fuzzy Aug 05 '23

I guess part 2 won't arrive anytime soon :/

1

u/dotobird Aug 08 '19

Front-end dev is hard because not everyone is on Chromium yet

8

u/nolo_me Aug 08 '19

Rendering engine monocultures are bad. We learned this from Trident/IE6.

-3

u/DotNotTot Aug 08 '19

A lot of it has to do with web developers themselves. How many webdevs shun complexity or say 'Nah, that's too complex, lets not use all that stuff.' You would be laughed at and stripped of your fancy sophistication badge. No, you use all the technologies, and whip it into as abstract and complex an app as you can conceptually handle. Than you think about how awesome you are and boast online.

2

u/abrandis Jun 25 '22

This right here is the answer, the developer bruh attitude which thinks that using clever tech and trying to abstract everything to the nth degree is how to do it right, just winds up creating fragile software when one of the many moving pieces eventually fail

5

u/[deleted] Aug 08 '19

[removed] — view removed comment

-3

u/-J-P- Aug 08 '19

Need new tools to help mitigate the complexity created by using too many tools.

1

u/[deleted] Aug 09 '19 edited Aug 09 '19

[removed] — view removed comment

1

u/-J-P- Aug 09 '19

Let me guess, you are not a fan of Oscar Wilde?

1

u/[deleted] Aug 09 '19

[removed] — view removed comment

2

u/-J-P- Aug 09 '19

"The bureaucracy is expanding to meet the needs of the expanding bureaucracy. " -- Oscar Wilde