Skip to content

03. Why AI?

AI exists because some problems are too complex, too variable, or too data-rich for humans to write explicit rules for.

Three categories of problems AI solves better than traditional code:


Writing a rule to detect spam:

if email contains "free money" → spam

Reality: spammers adapt. There are millions of variations. You can’t enumerate them all.

AI approach: learn from millions of labeled examples what “looks like spam” — and keep learning as patterns evolve.

Other examples: fraud detection, medical diagnosis, code vulnerability detection.


Traditional code handles structured data easily:

SELECT * FROM orders WHERE amount > 1000

But what about:

  • “Is this photo a cat?”
  • “Summarize this 50-page document”
  • “What emotion is in this voice recording?”

Unstructured data (images, text, audio, video) needs AI — rules can’t describe pixels or sound waves meaningfully.


3. Problems That Require Personalization at Scale

Section titled “3. Problems That Require Personalization at Scale”

A recommendation engine for 1 million users can’t have hand-written rules per user. AI learns each user’s preferences from behavior and generalizes.


ReasonDetail
UbiquityAI is in every major product — search, email, maps, code editors
Job marketAI/ML roles are among the fastest-growing in tech
LeverageOne engineer with AI tools can do what a team did 5 years ago
FoundationUnderstanding AI makes you a better software engineer overall
TimingThe tooling (APIs, open models, frameworks) has never been more accessible

  • A doctor uses AI to detect cancer in scans earlier than humans can
  • A developer uses Copilot to write code 40% faster
  • A startup with 3 engineers ships a product that requires “10x the staff” without AI
  • A non-English speaker gets real-time translation in their language

Traditional software: humans encode knowledge → software executes

AI software: machines learn knowledge from data → software adapts

This shift from explicit programming to learned behavior is why AI is transformative — and why understanding it is now a core engineering skill, not a specialty.


Q: Why can’t we just write rules for everything instead of using AI?

A: Rules break down when: (1) the problem space is too large to enumerate — like spam or fraud, (2) input is unstructured like images or natural language, or (3) the optimal behavior varies per user or changes over time. AI learns from data instead of requiring humans to codify every case.


Q: Why is AI having such a big impact now versus 20 years ago?

A: Three things converged: massive datasets (from the internet), affordable compute (GPUs, cloud), and algorithmic breakthroughs (transformers, deep learning). None of these existed together before. Data + compute + better algorithms = today’s AI capabilities.