Earlier quoted context omitted.
You missed the multi-page forms part. As soon as you have state of some fields affect how other fields or parts of the page display it becomes complex really quickly. There is an explosion of possible states. If you've ever seen code like this, you know why more modern js frameworks were invented: onSomethingChanged() { $('#foo').prop('disabled', true); $('#spinner').removeClass('invisible'); $('#error-1').prop('hidd…
On a side note, all that complexity in the example could be managed with adding/removing a single CSS class :p
Why is modern web development so complicated?
681–690 of 731 posts
Re: Why is modern web development so complicated?
#682Earlier quoted context omitted.
Also known as "Parkinson's law". Also the name of the little funny book where you will find the origin of "bikeshedding". More pleasant and timelesd a book than "bullshit job", IMHO.
What's the full title of the book? I searched on Amazon and there are a few titles containing "Parkinson's Law". Thanks.
Re: Why is modern web development so complicated?
#683Earlier quoted context omitted.
None of those sites are static html. Not even close.
html != static
I think people are complaining about two separate things - actually-static-ish websites like newspapers, shipping 10MB, and web apps like Facebook shipping 10MB. The latter is an unavoidable outcome of shipping Serious Software; the former is mostly driven by ad networks, not development ease.
Re: Why is modern web development so complicated?
#684Earlier quoted context omitted.
I think SPAss are much like special effects in movies: You only notice them when you bad. I build SPAs as part of my job. Good SPAs do not break the back button. Insisting they do is silly.
Can i middle-click open in new tab in your app?
Re: Why is modern web development so complicated?
#685Earlier quoted context omitted.
Likely in that other industry the engineer built 100+ other basically identical items that are two or three orders of magnitude less complex and where all the costs and techniques are pretty well known. Also, those mature industries routinely overrun by millions of dollars and months or years, event though they are dealing with a fraction of the complexity and the costs and techniques are well known. Software is the…
> Software is the only industry where you are asked to build systems that have never been built before but that are more complex than anything ever built in the history of "mature industries" I have a feeling that some SpaceX engineers would have something to say about this after one of their rockets lands on a floating barge.
Re: Why is modern web development so complicated?
#686- React or Vue?
- Redux or stateful components?
- GraphQL or REST or RPC?
- SSR or SPA?
- ...
We are missing a framework with sensible defaults for all these questions. And that does a good job at explaining what decisions one should take.
I'm trying to build such framework: Reframe (https://github.com/reframejs/reframe).
Re: Why is modern web development so complicated?
#687The answer to "why is ___ so ___?", is very nearly always best when phrased as the question, "what was supposed to stop __ from __?" The answer is nearly always...nothing. There was nothing, technologically or organizationally, preventing web development from becoming so complicated, such that websites whose desired functionality would be satisfied by static html are now several meg of thousands of lines of javascrip…
I would add one word to this: > There was nothing anymore preventing web development from becoming so complicated The early web was much simpler because of the resource constraints of the 90s and early 2000s. Pages only started serving 10 MB of JS when browsers got to the point where they could chew through 10 MB of JS at a barely acceptable pace. Also: > Managers don't really feel like pointing out "the project I'm…
Re: Why is modern web development so complicated?
#688Earlier quoted context omitted.
" am I gonna use it once and forget it? " Always comes back to bite me in the a$$. Also taking over projects that were built this way always a pain. Now and days I just refuse to do the work if they pushing to cut corners.All in all I say my quality of life and the sense of being proud of work has increased.
"am I gonna use it once and forget it?" Isn't the saying, YAGNI (You're not gonna need it)?
(Aside, flip the contraction to get the acronym - "you aren't gonna need it")
Re: Why is modern web development so complicated?
#689As other comments here have said, in different ways: "Modern web development" tries to reinvent too many wheels. I wish more developers/directors would try to approach this from the other direction: Making native OS apps as easily discoverable, installable, accessible, navigable, sharable, restorable, updatable and uninstallable, as websites: • I want to be able to type "photo editor" and see Pixelmator on macOS, Pai…
Sounds like it would be easier to enrich the browser with native-look controls than create another cross-platform ecosystem. (Let alone that none of the platform owners want to share developoers with the other platforms / they have incentive to lock them in)
Re: Why is modern web development so complicated?
#690Earlier quoted context omitted.
I disagree with the first part (they are real developers!), but agree with the second. We have grafted an application platform on top of a document delivery platform.
> We have grafted an application platform on top of a document delivery platform. The problem is this is incredibly valuable and we have no good alternatives. There is simply no better format for deploying applications than the web.