The EE vs. Computer Science Debate

A Humorous & Technical Investigation into Engineering's Eternal Rivalry

"Everybody knows electrical is higher in the engineering pecking order than CS because it requires real math ;-)"
——Terry A. Davis

1. The Famous Claim & The Rivalry

The debate between Electrical Engineering (EE) and Computer Science (CS) represents one of academia and industry's most enduring cultural divides. On one side, electrical engineers view themselves as guardians of physical reality, wrestling with electromagnetism and semiconductor quantum mechanics. On the other side, computer scientists command virtual realms of pure abstraction, orchestrating algorithms that power modern civilization.

When TempleOS creator Terry A. Davis famously quipped that EE sits higher in the "pecking order" due to "real math," he was tapping into a long-standing banter. But is EE math genuinely more "real," or do the two disciplines simply explore fundamental reality through fundamentally different mathematical lenses?

2. Why Electrical Engineering Feels "More Real"

Electrical engineering is directly bound to physical laws. Electrons, electromagnetic fields, thermal noise, and signal degradation exist in the physical universe and obey dynamic, continuous rules.

The Continuous Mathematical Toolkit of EE

How Electrical Math Works in Real Life

Real World Concept: Balancing Circuit Energy

In electrical engineering, calculating voltage across a real-world circuit isn't static—it depends simultaneously on three physical phenomena happening at once:

  • Resistance (R): Energy lost as heat when electrons flow through wires.
  • Inductance (L): Magnetic fields that resist rapid changes in electrical current.
  • Capacitance (C): Electrostatic energy stored between conductive surfaces.

If an engineer miscalculates these dynamic physical forces, the physical circuit doesn't gracefully print an error message—it overheats, distorts signals, or burns out components.

3. The Myth of CS "Fake Math": Discrete Logic & Efficiency

Dismissing Computer Science math as "fake" fundamentally misunderstands the field. Computer science does not model physical matter; it models computation, logic, and information structure.

The Theoretical Foundations of CS

How CS Math Works in Real Life

Real World Concept: Algorithmic Efficiency (Big-O Notation)

Imagine you have a database containing 1,000,000 items and you need to find something inside it. The way you design your algorithm can make a huge difference in how long the search takes.

Big-O notation is a way for computer scientists to describe how an algorithm's workload grows as the amount of data increases.

  • Inefficient Approach: $O(N^2)$ Growth: If an algorithm compares every item with every other item, the amount of work grows very quickly. With 1,000,000 items, that could mean roughly 1 trillion comparisons. A program using this approach could become extremely slow.
  • Efficient Approach: $O(N \log N)$ Growth: A smarter algorithm can organize the data and reduce the amount of work it needs to do. With 1,000,000 items, this is roughly 20 million basic operations—dramatically fewer than 1 trillion.

The important idea is scaling. An algorithm that seems perfectly fine with 100 items might become unusable with 1,000,000. Big-O notation helps programmers predict this growth and choose algorithms that will continue to perform well as their data gets larger.

In other words, Big-O isn't about counting the exact number of seconds an algorithm will take. It's about understanding how its workload grows as the input gets bigger.

4. The Convergence: Computer Engineering & Embedded Systems

The divide between EE and CS is bridged by Computer Engineering (CpE) and Embedded Systems. This field lives precisely where physical electronics transform into logical execution.

Software Applications & User Interfaces Pure CS
Operating Systems, Compilers & Kernels CS / Systems
Instruction Set Architecture (ISA) & Firmware Code CpE Bridge
Digital Logic Gates, Registers & Microchips (VLSI) CpE / EE
Transistors, Silicon Physics & Power Delivery Pure EE

Real-World Examples Where EE & CS Collision Happens:

1. Autonomous Vehicles

EE Role: LiDAR sensors, radar pulse reflection processing, power steering actuators.
CS Role: Computer vision algorithms, pathfinding logic, object classification AI.

2. Medical Pacemakers

EE Role: Ultra-low power circuit design, heartbeat pulse voltage delivery.
CS Role: Real-time OS fault tolerance, arrhythmia detection algorithms.

3. Smartphone SoCs

EE Role: Nanometer transistor layout, heat dissipation, 5G RF antenna design.
CS Role: Cache management, graphics pipelines, process scheduling algorithms.

4. IoT / Smart Appliances

EE Role: Analog-to-digital sensor conversion, battery management circuits.
CS Role: Wireless protocol stacks (Wi-Fi/Bluetooth), OTA software updates.

5. EE vs CS Technical Comparison

Dimension Electrical Engineering (EE) Computer Science (CS)
Core Paradigm Physical energy & signal transformation Information processing & computational abstraction
Math Domain Continuous (Calculus, Differential Eqs, Linear Algebra) Discrete (Logic, Graph Theory, Combinatorics, Number Theory)
Primary Abstraction Voltage, Current, Impedance, Waves Data Structures, Algorithms, Functions, Classes
Diagnostic Tools Oscilloscopes, Multimeters, Spectrum Analyzers Debuggers, Profilers, Static Code Analyzers
Failure State Component burnout, signal noise, thermal failure Memory leaks, deadlocks, infinite loops, crash logs
Pioneering Figures James Clerk Maxwell, Nikola Tesla, William Shockley Alan Turing, Alonzo Church, Claude Shannon, Donald Knuth

6. The Terry Davis Philosophy

Terry Davis's perspective was rooted in a radical bottom-up understanding of computing. Building TempleOS completely from scratch—writing his own kernel, compiler, graphics library, and 64-bit operating system—required intimate knowledge of how software interacts directly with hardware registers and CPU interrupts.

From this low-level worldview, modern software development often appears buried under endless layers of bloated abstractions, frameworks, and external dependencies. The philosophy posits:

"The closer you are to the hardware and the electrons, the deeper your understanding of computing reality."

7. Final Verdict: Continuous Physics vs. Abstract Logic

Is Electrical Engineering "higher" in the pecking order? Not objectively.

EE holds supremacy in modeling the physical mechanics of universe hardware. CS holds supremacy in modeling the logical limits of information and problem-solving.

The modern technological landscape depends entirely on both disciplines functioning in total synchronization. The ultimate engineer is not the one who claims hierarchy over another, but the one who can navigate seamlessly across the entire spectrum:

Electrons ➔ Semiconductors ➔ Logic Gates ➔ Architecture ➔ Operating Systems ➔ Algorithms ➔ Software