News for hackers. Stuff that matters.
Re:Ask HN: Getting tired of complexity in web development by coffeefirst on Saturday October 08, 2022 @02:24PM (#33134667)
I call this the "path to enlightenment." You have discovered that the most popular toolchain is overkill for 95% of the things its used for.

The problem is that's true literally across the board. You move to the backend and you have to deal with people who fell in love with microservices and weird databases that they didn't need. You move to ops and you have to deal with k8s when a single container would do. If you try mobile app development, let me know, I've never tried but I doubt it's exempt.

Why does this happen? No idea, but it's not lost on me that a lot of these things are backed by huge companies with giant piles of money who are using them as marketing.

The only thing you can do (besides leave it all behind and open a taqueria) is be a voice for simplicity. What are we going to build? What tools make sense for it?

The problem I'm running into is a lot of people expect to use React in the same way many of us once relied on jquery. So if that's the case and we must use some React, what can I do to use it in the simplest and clearest way possible?

Re:Ask HN: Getting tired of complexity in web development by kbrannigan on Saturday October 08, 2022 @02:41PM (#33134804)
Speaking of ops. What is the simplest reproducible way to accomplish this task.

- create vm instance ( setup firewall, users, network dna, stuff) - install : apache, runtime - install app.

Re:Ask HN: Getting tired of complexity in web development by gregjor on Saturday October 08, 2022 @02:47PM (#33134851)
Set it up once. Snapshot an image (called an AMI on AWS, but applies on all cloud services). Use the image to make new identical instances.

You can also script the process with (for example) Terraform.

Re:Ask HN: Getting tired of complexity in web development by chrismarlow9 on Saturday October 08, 2022 @03:04PM (#33135007)
Nearly every company I've ever worked for could get away with only using:

- packer for images

- terraform for prod infra

- vagrant for local dev

- pssh for ci/cd and config management

And in some cases I would say they'd be far more efficient with this setup.

Re:Ask HN: Getting tired of complexity in web development by nikanj on Saturday October 08, 2022 @02:58PM (#33134951)
Heroku or alternatives
Re:Ask HN: Getting tired of complexity in web development by betaby on Saturday October 08, 2022 @02:59PM (#33134964)
create - terraform, install / manage - cfengine / ansible / chef
Re:Ask HN: Getting tired of complexity in web development by aprdm on Saturday October 08, 2022 @03:07PM (#33135030)
A single ansible yaml
Re:Ask HN: Getting tired of complexity in web development by Eduard on Saturday October 08, 2022 @03:08PM (#33135042)
All the responses you got so far suggest exactly what this "Ask HN" actually wants to avoid: Terraform, AMI, Packer, Ansible, Chef ..., the list goes on

Here is my suggestion for keeping it simple, by solely relying on skills you will need anyways: git and shell scripting.

- Write a shell script that executes all those commands you would run manually to set up your system.

- Put up a git repository in the `/` directory, `.gitignore` everything by default, and explicitly git-notignore all those configuration files and user files/maintenance scripts which are relevant for your environment. Use githooks to also track/restore file permissions and ownerships of these tracked files.

Re:Ask HN: Getting tired of complexity in web development by skydhash on Saturday October 08, 2022 @03:22PM (#33135181)
Either the snapshot route to have a base image you can then run a single script to install the app. Or use something like Ansible to have reproducible configuration.
Re:Ask HN: Getting tired of complexity in web development by eddsh on Saturday October 08, 2022 @04:15PM (#33135617)
Honestly I use bash for this. I keep a local repo of .deb/.tar.gz files and scp them onto a machine which makes them reproducible. I use uvt-kvm for VMs, config files to cover basic settings, and that's basically it. I run a fairly decent sized test lab with multiple servers that have to be reproducible, quick to edit, and install fairly complex toolchains.
Re:Ask HN: Getting tired of complexity in web development by icedchai on Saturday October 08, 2022 @04:26PM (#33135694)
You launch the instance with "aws" CLI, passing it a user-data script (cloud config) that does all the things you describe with simple shell scripts. You install the app by copying it from an S3 location (build output), which is also defined in the script.

If you later want to port this into terraform, you can.

Re:Ask HN: Getting tired of complexity in web development by bingo-bongo on Saturday October 08, 2022 @05:15PM (#33136082)
There is already many answers to your question and not to be rude, but I think it perfectly shows part of the problem OP is talking about.

Every single answer goes straight to name dropping various specific techs/tools and I don’t doubt it really is the most simple way for each poster. But I think a much better answer, would be a bunch of questions that dig into what kind of problem you are trying to solve, what are the circumstances, skillset, limitations, budget, is it 1 tiny private app for fun or a couple of apps your team or even company depends on etc.

Because it depends on the specifics in _your_ situation and jumping straight to _a_ solution, without understanding _your_ problem, is imho part of the over-complexity-problem in our industry.

Re:Ask HN: Getting tired of complexity in web development by unity1001 on Saturday October 08, 2022 @02:43PM (#33134827)
> Why does this happen?

We humans are creative creatures. When we are doing the same thing for a long time, we tend to get bored and make change happen. We 'improve' things, we move things about. We 'make things better'. So we are not bored anymore.

Re:Ask HN: Getting tired of complexity in web development by deltasevennine on Saturday October 08, 2022 @08:11PM (#33137224)
except nothing was improved. Just changed.
Re:Ask HN: Getting tired of complexity in web development by michaelchisari on Saturday October 08, 2022 @03:00PM (#33134970)
| Why does this happen?

Because nobody wants to hear "that feature isn't viable given our architecture."

So we build systems that can accommodate any possible future feature. No matter how unlikely. And no matter how much extraneous complexity it adds now.

In order to maintain simplicity you have to enforce simplicity. And tech business culture doesn't like that.

Re:Ask HN: Getting tired of complexity in web development by johnfn on Saturday October 08, 2022 @03:03PM (#33134999)
> Why does this happen?

It happens because these technologies solve real problem for some subset of their users. Usually when people are saying that technology has become too complicated, it's because they happen to be looking from a perspective where the problems that the technology solves are invisible to them. That doesn't mean that the problem isn't important - it just means the problem isn't important for them. The easiest way to motivate this is to imagine the kinds of problems that need solving at large companies with thousands of employees. They look vastly different than the problems of someone like me working on a side project by myself.

e.g., TypeScript might not be useful for some single-person teams of developers. It's quite useful for teams of around 5, and it's unthinkable to work without it in teams of 100+. Does this mean that the single-developer team is wrong?

(I'd actually say the same thing about React. If you're a one-man team, go ahead, do whatever you want. But if you're working with 100 other engineers, god help you if you're all directly manipulating the DOM with vanilla JS.)

Most "complex" technology is solving many problems for many different smallish subsets of its users at the same time. To the average bystander, it can look like the technology has gained huge amounts of unnecessary complexity, but it hasn't, not really - it's just complexity which isn't directly relevant to you.

(OK, and yes, some other technology is just needlessly stupid, but...)

Re:Ask HN: Getting tired of complexity in web development by frankfrankfrank on Saturday October 08, 2022 @03:19PM (#33135159)
My sense is that is wrong. Case in point, I deal with a group that has a relatively elaborate set of excel workbooks to manage their process. None of the workbooks are great, all of them created and maintained by different teams, and there is persistent discussion of needing to accrue tools or some guy even threw together his own MS Access db to substitute for the workbooks. What they do is not at all beyond what Excel could handle, but it is the lack of fundamental process and methods to design a proper system that is the code and fundamentally problem.

I feel that is frequently the issue, fragmentation and derivation caused by a lack of fundamental first principles thinking, willingness to tackle the issue from the ground up. The outcome is then talk of bolting on yet another tool or some fix that really only ads debt.

Re:Ask HN: Getting tired of complexity in web development by bobthepanda on Saturday October 08, 2022 @04:42PM (#33135837)
Right. React can be the correct tool for some problems, but if your problem is your team is not thinking big-picture enough to address maintainability, React is not going to magically make that better.

Honestly, I don't think it's even that bad for basic development (they literally have a CLI command that generates a very basic webapp immediately.)

Re:Ask HN: Getting tired of complexity in web development by ok123456 on Saturday October 08, 2022 @04:50PM (#33135892)
Typescript is basically required to keep you from shooting yourself in the foot with Javascript.

Type annotation also serves as a form of 'hard' documentation. If it's wrong or no longer correct, it will make things turn orange in your IDE and make your type linting tool go bonkers. Even as a single developer this has tremendous benefits. It's much easier to come back to something you wrote months/years ago and get back into it rather than having to go through each function to see what it returns under every situation.

Re:Ask HN: Getting tired of complexity in web development by CodeSgt on Saturday October 08, 2022 @06:10PM (#33136522)
I agree with the sentiment so this comment is more of a nitpick than anything constructive, but I do feel you may have missed the mark with the typescript example.

Even if you don't want to use TS in it's full glory, you can just rename your files with a `.ts`, turn strict mode off, run everything through the compilation step, and weed out a category of simple mistakes from that alone. Add in that you can slowly add in certain rules to reach a level of strictness as you need and I see no reason how a JS dev would be better off writing vanilla JS than at least using TS and only running the compile step. Of course, I think taking the time to learn and fully utilize typescript the best path forward, even those with absolutely no desire to learn it can utilize some of it's strengths by reading the docs for 15 minutes.

Far from an unnecessary complexity, it's because an incredibly helpful tool at all levels.

Re:Ask HN: Getting tired of complexity in web development by johnfn on Saturday October 08, 2022 @06:37PM (#33136705)
I’m an enormous typescript proponent - I use it every day, even for the smallest, most trivial things :) in OP I was intending to steelman the anti-TS argument, but maybe I took it too far!
Re:Ask HN: Getting tired of complexity in web development by jcparkyn on Saturday October 08, 2022 @06:47PM (#33136772)
I'm a big TS fan, but for that type of person I feel like JSDoc + checkjs would suit them better. That way they don't have to deal with the hassle of making TS work with the rest of their tolling and build process.
Re:Ask HN: Getting tired of complexity in web development by cyanydeez on Saturday October 08, 2022 @08:27PM (#33137306)
Basically, it's the problem with vaccines and the rise of antivaxxers.

Because vaccines were so successful in their harm reduction to even elimination, there h

created a perverse belief that vaccines

were not effective, and then that they were actually harmful. Being ubiquitous and their effects the same, and the absence of their necessary disease.

Tools that solve problems experience a lifecycle that eventually if successful get weilded by people who never had firsthand experience of the problem.

Really a very large fractal problem space.

We envision a similar problem in autopilot system with 'safety' fall backs. For now, autopilots can disengage and let a pilot take control, but soon, we will run out of qualified pilots to disengage to, and no secure safety procedure.

Re:Ask HN: Getting tired of complexity in web development by sangnoir on Sunday October 09, 2022 @12:37AM (#33138311)
Same goes for the Y2K problem: prodigious efforts went into solving the problem, which was mostly averted. But since "nothing happened", people started asking if the whole thing was overblown.
Re:Ask HN: Getting tired of complexity in web development by Schwolop on Tuesday October 11, 2022 @10:51PM (#33172179)
I was coming here to say that the term for a problem which when solved makes people question whether it was necessary after all is a "Wicked Problem"[1], only to then discover that that's not it at all. So now I'm stumped - what is the word for that?

[1] https://en.wikipedia.org/wiki/Wicked_problem

Re:Ask HN: Getting tired of complexity in web development by hnuser847 on Saturday October 08, 2022 @03:11PM (#33135066)
> The only thing you can do (besides leave it all behind and open a taqueria) is be a voice for simplicity. What are we going to build? What tools make sense for it?

I tried to do this at several companies and ended up feeling like a pariah. At the end of the day, engineers, especially younger ones, like to follow trends, "learn new things", pad their resumes, and build bespoke solutions. Trying to fight against this will only make you look like a troglodyte or a party pooper.

Re:Ask HN: Getting tired of complexity in web development by somehnacct3757 on Saturday October 08, 2022 @04:27PM (#33135704)
I worked at a company long enough to go from young dev who wants to use shiny new tech (and is told no by party pooper experienced devs); to the party pooper experienced dev for a new group of young devs.

I know I'm right, as I'm now sure the devs telling me no were right, but I'll be pushed out same as they were.

Young blood is naive and cheap and plentiful so they will always have the momentum advantage. They're the ones that promise the moon to other departments and then stay up all night covering their tracks when they were wrong.

Re:Ask HN: Getting tired of complexity in web development by idlehand on Saturday October 08, 2022 @05:58PM (#33136413)
As a younger dev I see the opposite in my corner of the world. The senior developers spend countless hours debating the best design, engineering large architectures to bounce a handful of kilobytes of information around in the just right way to achieve architectural purity. Then they do greenfield development with old tech that is simultaneously somehow both old and barely used, as if to generate their own job security.
Re:Ask HN: Getting tired of complexity in web development by invaliduser on Saturday October 08, 2022 @03:22PM (#33135186)
>Why does this happen?

A lot of people value more enhancing their résumé than solving problems

Re:Ask HN: Getting tired of complexity in web development by register on Saturday October 08, 2022 @04:00PM (#33135502)
Simply this
Re:Ask HN: Getting tired of complexity in web development by agumonkey on Saturday October 08, 2022 @05:19PM (#33136116)
a lot of companies value shiny resume than complex problems solved
Re:Ask HN: Getting tired of complexity in web development by ScottStevenson on Saturday October 08, 2022 @03:27PM (#33135227)
>Why does this happen?

I wrote about a hypothesis here: https://medium.com/@scott.stevenson/how-to-finally-make-some...

Most of us are scared by the ambiguity of actual creative work, so unless we are under the threat of deadline, we seek out "structured games" to play so that we can put off the anxiety of freeform work. These games are:

(1) Tool Game: Researching and setting up tools (2) Learning Game: Books, podcasts, courses (3) Maintenance Game: Cleaning up our desktop, desk, house, etc. (4) Process Game: Setting up new processes and following them

The knowledge that things are actually easy and straightforward means we actually need to do the creative part of the work--many people are not ready to face that knowledge.

Re:Ask HN: Getting tired of complexity in web development by the-printer on Saturday October 08, 2022 @04:22PM (#33135662)
> (1) Tool Game: Researching and setting up tools (2) Learning Game: Books, podcasts, courses (3) Maintenance Game: Cleaning up our desktop, desk, house, etc. (4) Process Game: Setting up new processes and following them

I…I…I am triggered by this.

So it’s as if, people such as myself are on the hunt for artificial positive feedback loops that are functionally beautified masks of procrastination. Fueled by, perhaps a subconscious lack of confidence, or a sense of ignorance. Something to that effect.

So now imagine an entire department, teams, organizations all suffering from this? This can explain a lot.

Re:Ask HN: Getting tired of complexity in web development by hakunin on Saturday October 08, 2022 @05:17PM (#33136094)
I wouldn't write these off entirely. One of their positive outcomes is that you get to switch. Switching is important so you don't get bored or fed up. Just don't take these things too seriously, and don't stick your newfound hype into everything. Let things breathe, sleep on them. For like a few months or years.
Re:Ask HN: Getting tired of complexity in web development by the-printer on Saturday October 08, 2022 @08:34PM (#33137338)
I appreciate this piece of insight. It’s helping me find a balance.
Re:Ask HN: Getting tired of complexity in web development by hooloovoo_zoo on Saturday October 08, 2022 @04:47PM (#33135865)
I call these games ‘using emacs’. (as an emacs user)
Re:Ask HN: Getting tired of complexity in web development by pindab0ter on Saturday October 08, 2022 @04:56PM (#33135943)
I use Arch, btw.
Re:Ask HN: Getting tired of complexity in web development by blacksmith_tb on Saturday October 08, 2022 @11:18PM (#33137990)
I am certainly guilty of those, but I would point to larger pressures at the team and org levels - continuing to do things "the old way" (regardless of how old, just "the way we have been doing them") means no budget for big new projects to "modernize" apps and systems, no chance for managers to put their stamp on things with big new projects, etc.
Re:Ask HN: Getting tired of complexity in web development by domnomnom on Sunday October 09, 2022 @12:35AM (#33138303)
Based on this description, I should vary my playing of games.

Anyway, I find the usage of the term "game" to be quite odd. Why not "strategy?" I'm not sure I agree with the overall point, but enjoy how you've operationalized/categorized behavior in this way. There is value in that.

Re:Ask HN: Getting tired of complexity in web development by ScottStevenson on Monday October 10, 2022 @03:28PM (#33155482)
I used the word game because game implies a sort of "formal structure" or "submission" to a set of rules and constraints. This kind of structure relieves us of the anxiety of choice. It's so powerful it can be euphoric, that's why people pay for others to dominate them . I think it's also why we get into drug habits and a lot of other vices that add structure to our lives.

It's fine in moderation but tackling ambiguity regularly makes magic happen.

Re:Ask HN: Getting tired of complexity in web development by h4ch1 on Sunday October 09, 2022 @11:16AM (#33142010)
> (1) Tool Game: Researching and setting up tools (2) Learning Game: Books, podcasts, courses (3) Maintenance Game: Cleaning up our desktop, desk, house, etc. (4) Process Game: Setting up new processes and following them

This is exactly what I have been doing for so long (~2 years), I get hyped about a new project, delve into the "best" way of solving the problem and encounter 4-5 shiny new things, spend an unreal amount of time scaffolding and using new tech to create a base framework for whatever I am doing, and then when I actually have to solve the problem my productivity stagnates and I procrastinate more.

Even now I am conflicted/lost on what to do, this response is tbh a cry for help from people who have encountered something like this. Any insight would be great.

Re:Ask HN: Getting tired of complexity in web development by kirso on Monday October 17, 2022 @10:38AM (#33234097)
Isn't this literally just self-sabotaging? :)
Re:Ask HN: Getting tired of complexity in web development by adrianmsmith on Saturday October 08, 2022 @03:29PM (#33135251)
> Why does this happen?

A few answers already but let me add one: Complex technologies favour seniors who are capable of understanding the complexity, over juniors who might struggle more. And it's seniors who make the decisions on what technology to use, so I think it's "rational" if they (even subconsciously) make choices which benefit them. They don't want to get replaced by cheaper juniors.

Re:Ask HN: Getting tired of complexity in web development by plugin-baby on Saturday October 08, 2022 @03:42PM (#33135340)
I’ve observed the opposite - less experienced devs tend to want to use more complicated and extensive/invasive tech, without understanding if it’s appropriate or what its limitations are.
Re:Ask HN: Getting tired of complexity in web development by Chris_Newton on Saturday October 08, 2022 @07:55PM (#33137145)
I concur. The best people often produce the simplest solutions. Or perhaps more accurately, they often produce solutions that correctly implement the essential complexity but with little accidental complexity added.
Re:Ask HN: Getting tired of complexity in web development by tomg on Saturday October 08, 2022 @03:36PM (#33135308)
> Why does this happen? No idea, but it's not lost on me that a lot of these things are backed by huge companies with giant piles of money who are using them as marketing.

Your whole post is spot-on :)

My two cents on the answer to this question:

- New tools / frameworks / libraries / etc often position themselves as “solving” some perceived deficiency of the prior generation of that thing. So it can be attractive to want to move over to something that solves a pain point. (Whether it actually does, or whether it just replaces it with a new pain point is another thing…) Monolith to microservices is an example.

- At least for me, if I’m starting a new project (especially if it’s in a space I’m not that experienced in), it’s tempting to choose what looks to be the simplest choice, which could be for example a niche database technology suited for my exact need (even if in reality a regular SQL db would be just fine).

- Engineers like to play with new toys!

Re:Ask HN: Getting tired of complexity in web development by Buttons840 on Saturday October 08, 2022 @03:46PM (#33135377)
> The only thing you can do (besides leave it all behind and open a taqueria) is be a voice for simplicity.

You can also learn to leave work at work. Keep your side projects simple, if you have any. And rest easy knowing that at work the efforts of one person, you, create enough maintenance work for two people; enjoy that job security.

Re:Ask HN: Getting tired of complexity in web development by deltasevennine on Saturday October 08, 2022 @04:00PM (#33135509)
>Why does this happen?

I highly disagree with everyone else. This is the answer why:

Because there's no clear or definitive answer to What's best the "best" architecture or system for building these things. The entire industry is full of people making up stuff without anyone truly knowing anything.

For the shortest distance between two points we can calculate an answer. there's a definitive optimum. The question of what's the best web service is infinitely more complex. The inputs are huge in number and even the definition of "best" is complex and hard to define... So in short we essentially have no mathematical theory for software design and technology that can help us define what is "best." It's the same problem they have in Art and Design.

So nobody actually knows what is better BUT they think they know so they build wrappers around bad technology or they build completely new frameworks NONE of which actually provably move the needle forward. In fact the needle can move backwards and nobody knows!

When something can't be calculated, it's "Designed." This is the difference between "design" and calculation. Anything that's designed is basically some human wandering around in an area almost aimlessly without ever truly knowing what is optimum. They just use their gut and find some sort of answer that somewhat works. This is the current and past state of the programming industry. That is why on some intuitive level we can see that a lot of the industry looks like it's moving backwards.

Let's say we do have an equation that can take all the components that go into web application development and give you a numerical rating on how good it is. If we had such a model, my best guess is that if we took a system from the past and compared it to a system now, the Modern system will actually have a LOWER numerical rating.

But that's just my guess. As of now, nobody can truly define what that numerical rating represents and nobody knows whether some new framework or design methodology actually increases the amount of points. We are doomed forever to exist in this endless design loop until someone finds a mathematical model that can prove and layout the big picture from a quantitative perspective.

Re:Ask HN: Getting tired of complexity in web development by noduerme on Saturday October 08, 2022 @04:24PM (#33135677)
I just still use jQuery or vanilla typescript when building frontends. To me it's so much more readable, and I almost never have to worry about newer code not playing well with older code. No client has ever even asked me what framework was being used. If the software works and the code is well documented, the fewer frameworks you use the better.
Re:Ask HN: Getting tired of complexity in web development by tejtm on Saturday October 08, 2022 @04:27PM (#33135701)
In scientific/academic environments (the only type I can speak of) I have sometimes wondered if my fellow computerists have complexity envy.

What we need to do is not that complicated but making it so distracts from understanding the harder problem at hand while appearing to be working furiously.

Re:Ask HN: Getting tired of complexity in web development by bobthepanda on Saturday October 08, 2022 @04:44PM (#33135853)
This is basically the technical equivalent of bikeshedding, which has been known for a while. https://en.wikipedia.org/wiki/Law_of_triviality
Re:Ask HN: Getting tired of complexity in web development by P5fRxh5kUvp2th on Saturday October 08, 2022 @05:55PM (#33136390)
It happens because everyone wants to imagine they're smart and just happen to work for a no name company.

The intelligence is in the end result of the engineering, but no one wants their work to be so simple it could have been done by a junior.

Re:Ask HN: Getting tired of complexity in web development by hsn915 on Saturday October 08, 2022 @08:41PM (#33137369)
> Why does this happen

I wrote up my hypothesis here: https://hasen.substack.com/i/52275953/why-the-situation-pers...

Basically, programmers love complexity.

If they can't solve real problems, they will create fake problems so they can solve them.

They might not realize that's what they're doing.

Programmers love solving puzzles. It's why they program. The problem arises when they can't solve the real puzzle due to lack of experience (and lack of skill which comes from lack of practice), they solve secondary and tertiary puzzles that contribute nothing to the real problem at hand.

Instead of "How can I write 1000 lines of code to solve this problem?" they opt for "how can I configure these 20 libraries and glue them together so that a solution to the problem emerges from their interaction?"

Re:Ask HN: Getting tired of complexity in web development by mmgutz on Sunday October 09, 2022 @12:36AM (#33138307)
I'm guilty.

> "How can I write 1000 lines of code to solve this problem?"

I opt for "Why are these libraries so complicated? I'll research all 20 libraries and take the parts I like and build a newer, simpler framework."

Re:Ask HN: Getting tired of complexity in web development by hsn915 on Sunday October 09, 2022 @01:12AM (#33138438)
I should also add that people who advocate for simplicity primarily do so because they want to solve bigger / more complicated problems, but the complexity level gets in their way.

People who don't see the existing solutions as overly complex are content to stay at their current level and have no vision of solving bigger more difficult problems. They think they are already working at or near the peak of human possibility.

Re:Ask HN: Getting tired of complexity in web development by dominotw on Saturday October 08, 2022 @09:39PM (#33137602)
> The only thing you can do (besides leave it all behind and open a taqueria) is be a voice for simplicity.

This can seriously limit your earning potential by limiting your career advancement. You are forced to create complexity monsters for promotions at the type companies I've worked at.

Re:Ask HN: Getting tired of complexity in web development by ksec on Sunday October 09, 2022 @12:20AM (#33138241)
>Why does this happen? No idea, but it's not lost on me that a lot of these things are backed by huge companies with giant piles of money who are using them as marketing.

1. New Tools, in the modern era means Promotion, VCs, Money, Prestige. personal branding.

2. Creating complexity, in the name of needs for these Big Tech is a great way to create a moat for themselves.

3. Ideology, web development is possibly the 2nd worst places if it wasn't for Rust evangelism strike force. The idea that every single god damn thing should be in Javascript or SPA.

4. The Act of design before coding is gone. Especially in the era of Web Development. Lead by Google and Facebook which later spread across Silicon Valley and later across the world. An Act which is even seen as evil or forbidden.

Re:Ask HN: Getting tired of complexity in web development by mpweiher on Sunday October 09, 2022 @07:43AM (#33140120)
> If you try mobile app development, let me know, I've never tried but I doubt it's exempt

It's just as bad. Different, but bad.

Re:Ask HN: Getting tired of complexity in web development by eternalban on Sunday October 09, 2022 @08:40AM (#33140457)
> Why does this happen?

These teams lack technical leadership that is based on professional experience. This is the sort of lesson that is acquired after at least 10 if not more years of professional work, however the industry tests for algorithmic performance art on whiteboards to select software engineers.

Re:Ask HN: Getting tired of complexity in web development by CM30 on Sunday October 09, 2022 @09:34AM (#33140815)
In addition to what the other commenter says about wanting to postpone the 'creative' aspect of the work, I'd also say this happens because of:

1. Boredom. Everyone wants to be doing interesting work, and doing the same thing that's been done a million times before is probably pretty dull. Devs don't want to feel like code monkeys piecing things together assembly line style, even if that's exactly what's needed for many sites, apps, etc.

2. CV/Resume padding. Perhaps many people see every job as a stepping stone to the next one, and hope a complex solution will get them hired at a FAANG company or fast growing startup in future.

3. Expectations. Problems at large tech companies like Google are more likely to be documented online, since the folks working there tend to have more of an online/social media/blog presence than the folks doing 9-5s at more traditional companies. So people think "hey, if this is how others are doing it, this must be the proper way to do it", ignoring the fact that it's the proper way for a company expecting X billion users a year rather than a more reasonable number.

4. Ego/online reputation. Saying you used a fancy framework and hosting setup with microservices for your project gets a lot more votes on Reddit and Hacker News than saying you used say, basic HTML and CSS.

5. Lack of training/learning opportunities at work. Companies tend not to give workers much of a chance to learn new tech or work on interesting projects in work hours, which would provide them a place to experiment with these new technologies. So they try and integrate it into their normal work instead, even if it's completely the wrong solution for the problem at hand.

Re:Ask HN: Getting tired of complexity in web development by schwartzworld on Sunday October 09, 2022 @03:39PM (#33144473)
> relied on jquery. So if that's the case and we must use some React, what can I do to use it in the simplest and clearest way possible?

The answer to that question has been the same as long as I've been using react. Represent most of your app logic in pure functions. This has been the React team's recommendation, pretty much since the beginning.

Once you get hit to the idea of making everything a function, it pays to learn some functional programming design patterns. This increases your vocabulary for abstracting your application logic into a function.

Once almost everything lives in functions, your react components should really only care about managing the view.