Live data from Hacker News

Web development is fun again

ma.ttias.be

371–380 of 658 posts

Re: Web development is fun again

#371

If you have front-end and back-end separate, you're doing web development wrong.

But what if it isn't just a basic website? Most sites I've worked on required things like content management, or auditing stuff, a bunch database stuff, SAML single sign on etc.

Most languages end up being better at some parts of the stack, like Java for overcomplicated enterprise BS backends. It seems bad to "fight" that trend.

Re: Web development is fun again

#372

My problem is that code review has always been the least enjoyable part of the job. It’s pure drudgery, and is mentally taxing. Unless you’re vibe coding, you’re now doing a lot of code review. It’s almost all you’re doing outside of the high-level planning and guidance (which is enjoyable). I’ve settled on reviewing the security boundaries and areas that could affect data leaks / invalid access. And pretty much scan…

Worse, you’re doing code review of poorly written code with random failure modes no human would create, and an increasingly big ball of mud that is unmaintainable over time. It’s just the worst kind of reviewing imaginable. The AI makes an indecipherable mess, and you have to work out what the hell is going on.

There's been so much pressure to use AI at work.

My codebase is a zen garden I've been raking for 6 years. I have concerns about what's going to happen after a few months of "we're using AI cause they told us to."

Re: Web development is fun again

#373
post #153

Earlier quoted context omitted.

I don't know but to me this all sounds like the antithesis of what makes programming fun. You don't have productivity goals for hobby coding where you'd have to make the most of your half an hour -- that sounds too much like paid work to be fun. If you have a half an hour, you tinker for a half an hour and enjoy it. Then you continue when you have another half an hour again. (Or push into night because you can't make…

What you consider fun isn't universal. Some folks don't want to just tinker for half an hour, some folks enjoy getting a particular result that meets specific goals. Some folks don't find the mechanics of putting lines of code together as fun as what the code does when it runs. That might sound like paid work to you, but it can be gratifying for not-you.

The difference is whether or not you find computers interesting and enjoy understanding how they work.

For the people who just want to solve some problem unrelated to computers but require a computer for some part of the task, yes AI would be more “fun”.

Re: Web development is fun again

#374

Earlier quoted context omitted.

Couldn't you just static render the parts that you're using SSR for? I am not trying to be dismissive, but a common strict requirement is static hosting from a CDN, embedded environments, etc.

If you static render, it won't be an interactive application. With React SSR you get the best of both: stream static HTML chunks immediately, and rehydrate with JS later, prioritizing components the user interacts with. It should load quicker compared to traditional React apps where the browser loads the HTML, then loads the JS bundle, and only then renders a loading skeleton while likely triggering more requests for…

> It should load quicker compared to traditional React apps where the browser loads the HTML, then loads the JS bundle, and only then renders a loading skeleton while likely triggering more requests for data.

Then your JS bundle is broken.

Promises exist. Modules exist. HTTP/2+ exists. You can load data while you are loading a small amount of JS required to render that data while you are loading other parts of your JS.

If everything is sequential: load giant JS bundle -> fetch -> render, that's because someone architected it like that. Browsers give you all the tools you need to load in parallel, if you don't use them then it's not the browser's fault.

You do not need SSR or rehydration. That's just Vercel propaganda. They saw that people are doing a stupid thing and decided to push a complex solution to it. Why? It makes them money.

Re: Web development is fun again

#375

Earlier quoted context omitted.

This 1000x! I had a bit of an identity crisis with AI first landed and started producing good code. “If I’m not the man who can type quickly, accurately, and build working programs… WHO AM I?” But as you pointed out, I quickly realized I was never that guy. I was the guy who made problems go away, usually with code. Now I can make so many problems go away, it feels like cheating. As it turns out, writing code isn’t s…

[flagged]

It’s possible to be someone who’s very good at writing quality programs but still enjoy delegating as much of that as possible to AI to focus on other things.

Re: Web development is fun again

#376
post #209

Earlier quoted context omitted.

I think a lot of us just discovered that the actual programming isn't the fun part for us. It turns out I don't like writing code as much as I thought. I like solving my problems. The activation energy for a lot of things was much higher than it is now. Now it's pretty low. That's great for me. Baby's sleeping, 3d printer is rolling, and I get to make a little bit of progress on something super quick. It's fantastic.

Exactly. And I was never particularly good at coding, either. Pairings with Gemini to finally figure out how to decompile an old Java app so I can make little changes to my user profile and some action files? That was fun! And I was never going to be able to figure out how to do it on my own. I had tried!

Fewer things sound less interesting to me than that.

Re: Web development is fun again

#377

If you have front-end and back-end separate, you're doing web development wrong.

But what if it isn't just a basic website? Most sites I've worked on required things like content management, or auditing stuff, a bunch database stuff, SAML single sign on etc. Most languages end up being better at some parts of the stack, like Java for overcomplicated enterprise BS backends. It seems bad to "fight" that trend.

A full stack framework like Next.js is, at the end of the day, still a server running on Node.js, so there is nothing that prevents you from doing anything that you could be doing with a regular express.js server. Is there anything that prevents you from implementing content management, auditing stuff, or database stuff in your Next.js project? Nothing comes to my mind.

Re: Web development is fun again

#378

Earlier quoted context omitted.

I think, for a lot of people, solving the problem was always the fun part. There is immense pleasure in a nice piece of code - something that is elegant, clever and simple at the same time. Grinding out code to get something finished - less fun…

It depends. Sometimes they joy is in discovering what problem you are solving, by exploring the space of possibilities on features and workflows on a domain. For that, having elegant and simple software is not needed; getting features fast to try out how they work is the basis of the pleasure, so having to write every detail by hand reduces the fun.

Sounds like someone who enjoys listening to music but not composing or performing music.

Re: Web development is fun again

#379

Earlier quoted context omitted.

This 1000x! I had a bit of an identity crisis with AI first landed and started producing good code. “If I’m not the man who can type quickly, accurately, and build working programs… WHO AM I?” But as you pointed out, I quickly realized I was never that guy. I was the guy who made problems go away, usually with code. Now I can make so many problems go away, it feels like cheating. As it turns out, writing code isn’t s…

[flagged]

You definitely completely misconstrued what was said and meant.

It appears you have yet to grapple with the question asked. And I suspect you would be helped by doing so. Let me restate the question for you:

If actually writing code can be done without you or any coworker now, by AI, what is your purpose?

Re: Web development is fun again

#380

> On the frontend, you have build pipelines, bundlers, CSS frameworks with their own toolchains, progressive web apps, Core Web Vitals, SEO, layout shifts, srcset/responsive images… I remember when the biggest challenge was IE6 compatibility. You only have those things if you choose to use them. I've been building websites for 25 years. I use the same core technologies today that I did when I started. Sure, I make us…

Those technologies don't just solve tech issues, they solve organizational issues. If one or two people manage a website, going without fancy tooling is completely fine. When 1000 people are managing a product with complex business logic across multiple platforms, you need fancy tooling to ensure everyone can work at a reasonable level of productivity.

> you need fancy tooling to ensure everyone can work at a reasonable level of productivity.

If you have a thousand people working on a single product, yes, but you also have the resources to have dedicated tool support teams at that level. In my experience, if you’re under multiple dozens of developers or not everyone works on all of your projects, the tools fragment because people aren’t combining or configuring them the same way and there’s enough churn in the front-end tool space that you’ll hit various compatibility issues which lower the effectiveness of sharing across projects. This is especially true if you’ve hired people who self-identify as, say, Next or Tailwind developers rather than web developers and lack the understanding of the underlying technology to fix complex problems.

Post reply on HN