There has never been a better time to build websites

Published by: Daniel

We're running through another year and I'm as excited now about building websites as I've been in ~7years...

My web development origin story goes back around 7 years.

Back then I spent my weeks playing with things I don't even understand because I found them very fascinating. The idea of just writing some piece of texts on a simple text editor (Notepad++) and being able to see the results of your creation.

It was thrilling.

7 years later and I'm as excited about creating websites as I was then. Feels like we're still on the crest of this wave.

Even in the last few weeks there's genuine inflection points in the way I make websites. Some completely new, some reversions back to ways of old.

While there's absolutely a learning curve to getting started, once you've got momentum, modern web development feels like having rocket boosters. The distance between idea and execution is as short as it's ever been.

Speaking of learning, that's number one on my reasons why I'm still excited about making websites...

Learning materials are almost unlimited

There's never been so many ways to learn so much about web development.

Not so long ago, I talked myself out of using JavaScript, mostly because I didn't know where to start learning it.

Now you're a Google or YouTube search away from learning just about anything – often for free. In addition to expertly guided learning materials, ranging from free to paid. And the paid tutorial space has so many instructors, the quality of content is extremely high.

Frameworks are lifting each other up

🌶 Static was a fun diversion, but we're back to what works.

If you've only come to web development in recent years, you might think that minutes-long build processes are normal. They're not. They're a relatively recent quasi-solution to a relatively old problem – server maintenance and security is the worst.

So at some point we all accepted that if every time we need to fix a typo, it's okay to wait ~10 minutes to completely destroy and rebuild the website again as static files on cheap hosting, it'd be worth it.

CSS is a solved problem

🌶 CSS is effectively solved.

Tailwind CSS is the best thing to ever happen to CSS. I cannot imagine ever writing CSS in a separate file and having to think of names for elements.2commentsComment on this paragraph

It's also an excellent resource for beginners. Yes, someone experienced with CSS first will understand more of Tailwind. But a beginner with no understanding of CSS could get started faster – while still learning a lot of the syntax of CSS.

Creating a new playground with removes the need to colocate files, create class names and repeat yourself.

(No one should ever need to write

display: flex
more than once in a project)

It also helps that intellisense is amazing. I was using Tailwind before it and that involved a lot of switching between the Documentation and VS Code.

Tailwind the company is equally, if not more impressive than the framework itself.

The volume and quality of what this small team releases is phenomenal. As is their vision – it was never just about CSS classes. Tailwind CSS is a design system token generator, the pinnacle of software documentation, clear educational material and a relentless cadence of improvements.

...and you get all that for the cost of maintaining one .css file!

GitHub Copilot

This might be the biggest revelation. I've had access to the Beta since July but for some reason only just installed it. It is everything everyone said it is!

There is web development pre-and-post Copilot. Again, this is an inflection point.

Highlights of using Copilot for a few weeks

  • Describing a function in a comment, then having the logic of the function suggested with perfect accuracy.
  • Doing the above but actually having the wrong thing suggested. This then becomes a mini coding test to debug the suggestion. It's usually close, and so doesn't require a lot of work to keep going.
  • Reading Copilot's suggested logic in order to understand why it has suggested what it has. Copilot is a teacher.
  • It. Does. Regex.

Copilot replaces the "I'm stuck and need to find code on Stack Overflow" part of your workflow.

Content management is limitless

Some major bias at play here but when I came across Sanity I finally found "the CMS I'd always hoped existed".

I used WordPress for the longest time but only once I found Advanced Custom Fields. And for as long as I used WordPress I wished someone would just make "ACF CMS".

And that's partly what Sanity is, but also way better.

Sanity's not trying to be a CMS, but it happens to be the best CMS.

It's also a composable, deployable, schema-as-code, near-infinitely-customisable content storage and editing platform with an incredibly generous free tier and is batteries-included for just about every typical editing interaction you'll need. For everything else there's probably a plugin.

And if there's anything you feel it can't yet do, it's only because you haven't spent enough time building it yourself yet. There's no stopping you.

You're also not left baby-sitting a server as your content is all cloud hosted.

It's all positives

This whole blog post is written in part because if you read enough web development Twitter you might get drawn into thoughts like:

  • Will I get left behind because I don't already know everything?
  • Should I build an online profile by having hot takes on every topic?
  • Is person x wrong because they like thing y?
  • Should I use let or const?
  • Will Copilot take my job?
  • web3?

Ignore that.

You can choose to focus in on the things you like.

Building websites is awesome. Always has been. Looks like it will be for a good while yet.

Believe me: Programming is a passion you develop
through challenging yourself to the imagination of beautiful possibilities.

© 2022 Daniel Dozie. All rights reserved.