Human Who Codes Newsletter - Google


Thoughts on Google

In 2023, Google Search generated $175 billion in revenue. The next closest unit was Google Cloud with $33 billion (YouTube generated $31.5 billion, in case you were wondering). That’s a pretty big step down from your top money-maker to second place. And that’s why we’ve seen a big change in how Google is operating.

For over two decades, we’ve been trained to think of search as the way to find important information. Need to know where the closest supermarket is? Google it. What time is the playoff game? Google it. What was the name of the drummer in Aerosmith? Google it. All Google had to do was keep the servers running and the money printing machine would continue to print money. Then ChatGPT came onto the scene.

Enter ChatGPT. While ChatGPT opened our eyes to a lot of things, the most important from Google’s perspective is that you can now find information without search. Instead of typing that question into a Google search box, you can ask ChatGPT. Instead of being met with a page of links you need to investigate, the first four of which you scroll by because they’re ads, you get a concise answer from ChatGPT.

To get a sense for the fear this struck in Google, it helps to understand that ChatGPT was publicly released in November 2022. In January 2023, Google laid off 12,000 employees to “focus on AI” and then laid off hundreds more in 2024. Google understands this deeply: AI chatbots are coming for search. They are building their cash stockpile for a cold winter that could come sooner than anyone thinks.

Search’s days may be numbered. Google is consistently rolling out announcements about Gemini, their own model. Most of the time, they seem to be significantly behind the work at OpenAI, but at this point, that might not matter. The only question now is whether people will prefer asking a question to an AI or searching. Even if a small percentage choose the AI experience, that could cut into Google’s search advertising significantly.

Even if Gemini proves to be superior to GPT in the long run, that still doesn’t guarantee Google anything. Summarizing what people are looking for doesn’t lend itself to advertising. To date, there is still no strategy for effectively monetizing AI. AI startups aren’t making money. So even if Google wins the AI battle, it may lose the monetization war.

When you see people bemoaning that Google isn’t the friendly, open company they once were, and that they’re putting profits before everything else, this is why. Google correctly identified AI as an existential threat to their money-printing machine (search advertising). Now, they are doing everything they can to convince shareholders that they are ready to face this challenge. But are they?

Key Takeaways

  • AI is an existential threat to Google's core search business.
  • As such, Google is aggressively cutting costs to strengthen its balance sheet.
  • Even if Google's Gemini beats out GPT, its search advertising may not be the reliable income source that it has been.

Understanding JavaScript Promises

I just updated my e-book, Understanding JavaScript Promises, for 2024! It now includes information about Promise.withResolvers() and a whole new chapter on using and creating abortable functions.


Stuff I've Enjoyed this Month

📚 Don't Shoot the Dog by Karen Pryor
While this book is ostensibly about dog training, it is actually a much deeper exploration into what it takes to teach and train any animal, including humans. Includes information from both research studies and the author's personal experience. Highly recommended.

📚 Writing for Busy Readers by Todd Rogers and Jessica Lasky-Fink
I'm a fan of books that teach you how to write better, and this book became an instant favorite for me. It details all the ways we now use writing (books, articles, text, email, etc.) and how to better communicate your points regardless of the medium. If you enjoy writing and want to improve, you'll enjoy this book.

🎬 The Latest in Web UI by Chrome Developers
One of the few non-AI talks from Google I/O delves into all of the recent amazing additions to HTML and CSS that allow you to create beautiful, accessible UIs using very little JavaScript. Definitely worth sitting through the entire video.

🎬 JavaScript Visualized - Event Loop, Web APIs, (Micro)task Queue by Lydia Hallie
This is quite possibly the best visual representation of how the event loop works in web browsers. This short video walks through all of the common tasks that the event loop does, including timers and promises.

📝The problem with new URL(), and how URL.parse() fixes that by Kilian Valkhof
The web platform API has a class called URL that you can use to manipulate URLs safely. However, the constructor actually throws an error for invalid URLs, which may be unexpected depending on your use case. This short post explains why URL.parse() is a better option.


What I'm Working On

🏠 Real Estate: It has been a slow month for my rental properties, which is a good thing! My home, on the other hand, received an upgrade in the form of a resurfaced back deck. I replaced old rotting wood with a composite deckboard. Follow my Instagram for real estate photos.

📝 Writing: I wrote a blog post explaining how someone temporarily took control of one of my subdomains. This was quite the learning experience.

💻 ESLint: One of the big complaints after ESLint v9 came out was that the migration was difficult. I spent a lot of time hunting down the problems people were having, resulting in a pull request to Rush Stack, a new migration tool, and submitting pull requests to several projects who requested help.

Human Who Codes Newsletter

A once-per-month newsletter discussing topics important to senior-level software engineers, with a particular focus on frontend technology and leadership.

Read more from Human Who Codes Newsletter

Thoughts on Return-to-Office If you’ve been following tech news in the past month, you’ve likely heard about Amazon’s strict return-to-office policy, which will require employees into the office five days per week beginning in January 2025. The climate for tech workers has changed dramatically over the past three years, and Amazon, along with other companies, now shows no fear of losing employees with strict return-to-office mandates. For the first time in a long time, tech companies aren’t...

Thoughts on Weaponizing Open Source When you think of open source software, you might think of it as a gift from someone to the world. They’ve written something of value, and instead of trying to make money off of it, they’ve posted it online for anyone to use (and potentially make money off of) for free. While many projects start that way (Linux, ESLint, etc.), there’s another way open source comes into being: as a weapon against a company’s competition. Android. Perhaps the best example of...

Thoughts on Rates of Change One of the first things I realized about working in codebases is that different parts of the codebase change at different rates. There are some files that are touched very frequently while others can go months, or even years, without being touched. This fascinated me, partly because it reminded me of my closet (why do I even still have those jean shorts?), and partly because people seemed to put such little thought into optimizing their projects to reflect this...