Web dev is still fun if you want it to be

github.com

116 points by jacques_chester 3 days ago


I wrote a silly toy website and went out of my way to enjoy it, rather than endure it.

I wrote up my thoughts. Maybe they'll resonate with you. Maybe they'll infuriate you. As long as they make you feel something more than a cosmic shrug I'll be pleased.

simonw - 2 days ago

If you've found web development frustrating over the past 5-10 years, here's something that worked great for me: give yourself permission to avoid any form of frontend build system (so no npm/React/TypeScript/JSX/Babel/etc) and code in HTML and JavaScript like it's 2009.

The joy came flooding back to me! It turns out browser APIs are really good now.

You don't even need jQuery to paper over the gaps any more - use document.querySelectorAll() and fetch() directly and see how much value you can build with a few dozen lines of code.

rorylaitila - 31 minutes ago

I love the web. You can build almost any UI. It's constantly getting new tools. I think it's a 100 year platform.

I stay sane by shipping HTML over the wire from server rendered handlebars templates (Java/Lucee) against a MySQL database. Forms and Links only for navigation. JS for spice. My apps never break. Backwards compatible.

mushufasa - 2 days ago

I actually started my startup with this approach -- good old Django.

Lasted for a year until we had users wanting to do complex interactions on the frontend.

Simple CRUD apps are fine, but users expect a lot of interactivity these days where things on the screen interact with each other.

The nice thing about Django, though, is that you can easily switch to api-based backend with DRF or Django-Ninja. We used DRF but if I were to do it again, I'd choose ninja.

frankie_t - 2 days ago

Sorry for writing something a bit tangential, I'm mostly replying to the heading not the content.

I keep seeing the same point that argues against how "not fun, depressing, worse a <thing> has gotten these days". The most recent incarnation of that is how programming with AI feels worse than programming on your own.

I don't think the problem is inability to find a way to derive fun, the way you could previously. The problem is deriving fun while still getting paid for it.

To reiterate on the web-dev, you probably can make it fun again, given that you were able to have fun with it previously. But it probably will have to be done in your spare time after job.

eizaguir-lai - 7 hours ago

Love this. This is a philosophy that I have been trying to espouse for a while now. Interesting that he said MVPs are too complicated, I love building quick apps in Rails. Might have to give Sinatra a try to see what he sees in it.

29ebJCyy - 2 days ago

I know this is somewhat antithetical to this article, but I’ve gotten similar vibes recently from Astro. Yes, I had to relearn some stuff, but once your brain starts thinking the Astro way, it mostly just works and feels closer to rails (but with the ability to craft weird fun JS experiences) than any JS tool I’ve used since Rails 4.

nico - 2 days ago

Personally, vibecoding has brought back a lot of the joy of coding

Being able to super quickly iterate, without caring too much about the results, but having fun seeing what comes up

I’ve really enjoyed exploring. Making small experiments, that you can make 5-10 of easily of in just one session

Like these silly things:

* https://openjam.ai/lonely_ant_702/vnqovd512h

* https://openjam.ai/stupid_coral_852/pvjda0dyc2

* https://openjam.ai/stupid_coral_852/qg8yembjg5

rsolva - 2 days ago

I accidentally started having fun while wipping up a new website for a non-profit with relatively simple needs.

I started out with Server Side Includes on a shared host, but converted to using PHP along the way to be able to make a base file with all the stuff that is repeated (header, main, footer etc), and then injecting the content from index.php, /contact/index.php etc.

Turns out, you get really far with HTML, CSS and a light sprinkle of PHP, and it is super fun and fast and you get things EXACTLY how you want it. No fighting other peoples opinionated decisions.

I have created many sites from scratch with Hugo, and generally enjoy the process, but this is even more fun, because ... I can do whatever I want!

scruple - 2 days ago

I don't really have anything to add but I also recently spun up a Sinatra app for my personal use and I really had a lot of fun doing it. It was my first time using Ruby since 2022 when I left a Rails job, after having spent more than the previous decade primarily writing Ruby. I love the language and community so much but I don't have a professional use-case for it at my employer today, and I don't have a lot of free time in my personal life, so I just don't end up using it much. Thanks for sharing your thoughts here, I resonate with them a lot!

DamnInteresting - a day ago

This is quite true. I like to build browser-based games, and it is much more fun and stimulating to write a lot of the bits in old-fashioned HTML+SCSS+Javascript. I still use libraries for tricky stuff, like handling audio playback, but it's not that hard to implement one's own drag-and-drop (for example), and it works very well. Plus, there is the added benefit of understanding how things work.

ofrzeta - 2 days ago

"bring back Cloud Foundry"? It's not dead, afaik. Also there is Korifi, a project to bring the Cloudfoundry API to Kubernetes https://www.cloudfoundry.org/technology/korifi/

pjmlp - 2 days ago

On hobby coding it is definitely fun as always.

PHP, ASP.NET or Spring/Quarkus, with just enough JavaScript, no npm, no builders, nothing.

Likewise with WebGL or WebGPU, direct src includes, no build.

chuckadams - 2 days ago

I'd love an environment so integrated I don't have to use a build system for anything complex, but I'm not going back to the likes of jQuery in vanilla JS. That's the opposite of fun to me. Vite may be a fiddly beast, but once it's set up, I just edit and see changes live, and I can do it while writing in a better language.

wwall3r - 2 days ago

More startups should take this approach. Sure, they might need more styling/branding than you used, but this is so much snappier and accessible than the average SaaS product these days.

Yes, some of them have a case for local-first. If you do, you really should start with that out of the gate though.

irrational - 2 days ago

I was a web developer since the mid-90s. I got out of it a few years ago because the direction web development was going in was so not fun. I still do personal web development because I find it enjoyable, but feel so much relief not to be doing it professionally any more.

iamflimflam1 - 2 days ago

Seems relevant here - why is nextjs so popular? It’s always seemed a bit mad that people took a very nice static site system and decided to add a server to it.

ericd - 2 days ago

I really like the “I can do things simply, because the backend is so fast” parts. Totally agree, and wish it was more common. Computers are fast, until we slow them down with layers upon layers of bullshit to crunch through to display a little snippet of text.

- 2 days ago
[deleted]
bstsb - 2 days ago

for my personal website (admittedly a mostly static site) i ended up not using any frameworks, just html and js. forgot how fun it is to not worry about scalability or code reuse in hobby projects.

mediumsmart - a day ago

totally resonates thank you - have the server put a nonce on the form submission and when used, nuke it and 303 thank you maybe?

gaiagraphia - 2 days ago

Upgrading from Svelte 4 to 5 took out loads of joy from webdev ;(

xythobuz - 2 days ago

That was a very fun read. Thank you.

- a day ago
[deleted]
mattl - 2 days ago

I was with you up until you used AI.

draw_down - 2 days ago

[dead]

karolusrex - 2 days ago

I understand that this is intended as a rant - but these types of “case studies”, where someone starts a personal hobby project as a solo developer without using modern frameworks - are not very convincing. It would be an entirely different argument to point to a blog post of a larger organisation justifying their tech stack than these types of sources, that seem to be more common these days. Often the author is a backend developer who lacks any detailed knowledge of the problem space, and the comments section is usually full of fact errors and confusion.

sublinear - 2 days ago

> I even eschewed HTMX. I bought the book! It's great, it made me feel hopeful, I want to use it someday. But I just ... didn't need it.

This is always true for any web project. HTMX is an abomination of opinions that are harmful to both small and large scale projects. It attempts to solve problems (poorly and naively) in the mid scale that almost nobody ever spends much time in. It's a toy for inexperienced managers to create bullshit maintenance work while they try to quickly jump to something else. We need to stop making crap like this and focus on coding according to web standards and sparingly add much better tools as the project scales up.