Latest / CyberSecurity Summary / Write Great Code, Volume 1, 2nd Edition: Understanding the Machine
Transcript
- 0:00Speaker 1: You know, I was looking at some Python code the
- 0:01Speaker 1: other day, just a simple script really to sort a
- 0:05Speaker 1: list of names, and it just struck me how much
- 0:08Speaker 1: magic is happening there. I type sort and the world
- 0:13Speaker 1: just arranges itself. It feels seamless, it feels well. Free.
- 0:18Speaker 2: Free is a very dangerous word in computing.
- 0:20Speaker 1: Exactly, and that's the fundamental disconnect we're really tackling today.
- 0:23Speaker 1: We live in this golden era of high level abstraction,
- 0:27Speaker 1: you know, Java, Swift, Python, Ruby, where we are deliberately
- 0:31Speaker 1: shielded from the machine. It's comfortable, it is comfortable, but
- 0:35Speaker 1: the source material we're covering today argues that this shield
- 0:38Speaker 1: is actually a blindfold.
- 0:39Speaker 2: It's a provocative stance. We're diving into. Write Great Code
- 0:44Speaker 2: Volume one, Understanding the Machine by Randall Hyde, and his
- 0:48Speaker 2: premise is, well, it's uncomfortable for a lot of modern developers.
- 0:51Speaker 2: He essentially says, if you don't know what the hardware
- 0:54Speaker 2: is doing with your variables, you aren't writing great code.
- 0:57Speaker 2: You're just writing code that work by accident.
- 0:59Speaker 1: Code that works by accident that stings a little.
- 1:03Speaker 2: It should and look, Heid isn't saying we need to
- 1:05Speaker 2: go back to writing assembly for everything. He's not a masochist,
- 1:09Speaker 2: but he is saying that if you want performance, if
- 1:13Speaker 2: you want that top tier efficiency, you have to be
- 1:16Speaker 2: able to mentally map your high level syntax down to
- 1:20Speaker 2: the low level reality.
- 1:22Speaker 1: So our mission for this deep dive is to well,
- 1:25Speaker 1: it's to tear down that abstraction layer. We're going to
- 1:27Speaker 1: look at how the machine actually thinks, not how we
- 1:29Speaker 1: want it to think exactly. And it starts with something
- 1:32Speaker 1: that seems philosophical but is actually purely mechanical. The difference
- 1:36Speaker 1: between a number and a representation.
- 1:38Speaker 2: Right, this is Chapter one stuff, but it trips people
- 1:41Speaker 2: up all the time in the human world. If I
- 1:43Speaker 2: write the number one hundred on a piece of paper,
- 1:45Speaker 2: the meaning is fixed. It's one hundred items.
- 1:48Speaker 1: One hundred apples, one hundred dollars, simple.
- 1:50Speaker 2: Exactly, It's an abstract quantity. But inside a machine there
- 1:53Speaker 2: are no abstract quantities. Their only representations. Hide uses this
- 1:57Speaker 2: great example. If you see the symbols one, zero, zero
- 2:01Speaker 2: inside a computer's memory, what quantity is that?
- 2:04Speaker 1: My first instinct is, well, it's one hundred.
- 2:06Speaker 2: And that's your decimal bias, showing what if I tell
- 2:09Speaker 2: you that representation is.
- 2:11Speaker 1: In binary binary one zero zero, Okay, that's the quantity
- 2:14Speaker 1: four precisely. And if I tell you it's.
- 2:16Speaker 2: Exodesimal hexodescimal, then it's two hundred and fifty.
- 2:18Speaker 1: Six same symbols, three totally different values. See, the machine
- 2:23Speaker 1: doesn't care about the ink on the page. It cares
- 2:25Speaker 1: about the interpretation of the bit pattern.
- 2:27Speaker 2: And that matters because the algorithms depend on that specific
- 2:31Speaker 2: internal structure to work efficiently.
- 2:33Speaker 1: Yes, if you treat everything as abstract math, you miss
- 2:37Speaker 1: out on all the shortcuts the hardware offers.
- 2:39Speaker 2: And the hardware is rigid. I mean, we have to
- 2:42Speaker 2: talk about the physical reality here. Why are we stuck
- 2:45Speaker 2: with binary? Why zeros and ones? Why not you know,
- 2:47Speaker 2: zero through nine?
- 2:48Speaker 1: It just comes down with reliability. At the hardware level,
- 2:51Speaker 1: you're dealing with electricity voltage, and it is incredibly difficult
- 2:56Speaker 1: to build a circuit that can reliably distinguish between ten
- 3:00Speaker 1: different voltage levels like.
- 3:01Speaker 2: Point one bolts point two volts point three.
- 3:04Speaker 1: Yeah, and do that billions of times a second without
- 3:06Speaker 1: making a single mistake.
- 3:07Speaker 2: Too much noise on the line, way too much noise.
- 3:10Speaker 2: But it's very very easy to distinguish between high voltage
- 3:14Speaker 2: and low voltage on and off saturation and cut off.
- 3:17Speaker 1: That's binary.
- 3:17Speaker 2: That's binary. It's the only way to build reliable circuits
- 3:20Speaker 2: to the scale we operate on today.
- 3:22Speaker 1: Okay, so we're stuck with binary because of physics. But
- 3:25Speaker 1: and I think I speak for all humans here, binary
- 3:28Speaker 1: is just terrible to read. If I have to debug
- 3:31Speaker 1: a memory dump and it's just pages of eleven hundred
- 3:33Speaker 1: under zero ten, I'm going to quit.
- 3:35Speaker 2: My job, which is exactly why we have hexadismal. A
- 3:38Speaker 2: lot of new programmers think hex is just some kind
- 3:40Speaker 2: of computer nerd numbers, but it serves a very specific
- 3:44Speaker 2: structural purpose. It bridges the gap between our brains in
- 3:48Speaker 2: the binary circuits. How so it's all about the nibble.
- 3:51Speaker 2: A nibble is a group of four bits. If you
- 3:53Speaker 2: look at all the possible combinations of four bits from
- 3:56Speaker 2: zero zero, zero, zero, zero eleven, how many possibilities is that?
- 3:59Speaker 1: That would be sixty.
- 4:00Speaker 2: Sixteen possibilities and exodecimal is base sixteen. It has digits
- 4:03Speaker 2: zero through nine and then A through f. That's sixteen digits.
- 4:07Speaker 2: So one single hex digit represents exactly four bits of binary.
- 4:11Speaker 1: Ah, so it's a perfect one to one mapping, a
- 4:13Speaker 1: perfect mapping. So it's not just a random choice. It's
- 4:16Speaker 1: more like a compression algorithm for our eyes. Instead of
- 4:20Speaker 1: writing eleven eleven, I can.
- 4:21Speaker 2: Just write f exactly. It lets us chunk binary into
- 4:24Speaker 2: readable pieces. That's why you see it everywhere in low
- 4:27Speaker 2: level debugging.
- 4:29Speaker 1: Now, speaking of debugging and performance, there was a section
- 4:31Speaker 1: in the book that honestly surprised me. We've talked about
- 4:34Speaker 1: how the machine sees numbers, but we often have to
- 4:37Speaker 1: get numbers into the machine from a user. Right, the
- 4:40Speaker 1: user types one, two, three on their keyboard, and Hyde
- 4:43Speaker 1: points out this hidden costs that I think most of
- 4:45Speaker 1: us just ignore.
- 4:47Speaker 2: The ioconversion cost. Oh yeah, this is a classic hidden bottleneck.
- 4:51Speaker 1: We see a line like sini in C plus plus
- 4:54Speaker 1: or input and Python, and we think, okay, the user
- 4:56Speaker 1: types of number, the computer gets the number.
- 4:58Speaker 2: That is the illusion. The computer doesn't get a number,
- 5:01Speaker 2: It gets a keystroke, It gets an ASSI character code.
- 5:03Speaker 1: Right, so if I type one, two, three, the computer
- 5:06Speaker 1: receives three separate characters one, two, and three.
- 5:09Speaker 2: And converting those characters into a single binary integer that
- 5:13Speaker 2: the CPU can actually do math with that is shockingly expensive.
- 5:17Speaker 1: Walk us through that. Why is it so heavy?
- 5:19Speaker 2: Okay? Well, think about the algorithm. You take the character
- 5:22Speaker 2: one first, you have to subtract the as key offset
- 5:26Speaker 2: usually forty eight to get the actual numeric value of one.
- 5:29Speaker 2: Then you look the next character two. First, to merge them,
- 5:33Speaker 2: you have to take your current total, which is one,
- 5:35Speaker 2: and multiply it by ten.
- 5:36Speaker 1: And multiplication is not a cheat instruction for the CPU,
- 5:39Speaker 1: not at all.
- 5:40Speaker 2: It's heavy. So you multiply by ten, then you add
- 5:43Speaker 2: the new digit. Now you have twelve. Then you get three,
- 5:45Speaker 2: foot you have to multiply that whole previous total by
- 5:48Speaker 2: ten again and add the three.
- 5:50Speaker 1: So if you're reading a million lines of data from
- 5:52Speaker 1: a CSV file, you're running that multiplication loop millions.
- 5:56Speaker 2: Of times millions. And that's just for input out. Putting
- 5:59Speaker 2: it back to the screen can be even worse. Why
- 6:02Speaker 2: worse because that requires division by ten to separate the digits,
- 6:07Speaker 2: and division is often the slowest math operation a modern
- 6:10Speaker 2: CPU can perform. Hyde points out that this text the
- 6:13Speaker 2: number conversion, is often the single biggest bottleneck in a program.
- 6:17Speaker 1: And developers just ignore it because the function call looks
- 6:20Speaker 1: so simple they do. That is a great takeaway. Don't
- 6:23Speaker 1: just print variables for fun inside a tight loop. You're
- 6:25Speaker 1: torturing the CPU. Okay, let's move on to the anatomy
- 6:29Speaker 1: of this data. We threw around the word nibble earlier,
- 6:32Speaker 1: which is cute, but we need to talk about the
- 6:34Speaker 1: heavy headers, right.
- 6:35Speaker 2: The container sizes. A nibble is four bits, a bite
- 6:38Speaker 2: is eight bits, and it's crucial to remember the bite
- 6:41Speaker 2: is usually the smallest addressable unit of.
- 6:43Speaker 1: Memory, meaning you can't just ask the CPO.
- 6:45Speaker 2: For bit three, No, you grab the whole bite, and
- 6:48Speaker 2: then you have to find bit three yourself.
- 6:49Speaker 1: And then we scale up in the context of this book,
- 6:52Speaker 1: which is vary by eighty six focused. A word is
- 6:55Speaker 1: sixteen bits.
- 6:56Speaker 2: Correct, and a double word or do word is three
- 7:00Speaker 2: two bits. A quad word is sixty four bits.
- 7:03Speaker 1: The scale of these things is just wild. A bite
- 7:05Speaker 1: gets you what, two hundred and fifty six values, that's it.
- 7:08Speaker 2: But a thirty two bit doer gets you over four billion.
- 7:11Speaker 1: It's that exponential growth two dollars.
- 7:13Speaker 2: A little exactly. And within these containers, bit numbering is standardized.
- 7:18Speaker 2: Bit zero is your low order bit, the least significant.
- 7:21Speaker 2: The highest number is your high order bit.
- 7:22Speaker 1: And if you mix those up, you're in for a
- 7:24Speaker 1: world of pain.
- 7:25Speaker 2: A very bad time. Interpreting your data.
- 7:27Speaker 1: Speaking of having a bad time, let's talk about negative numbers.
- 7:31Speaker 1: This is one of those things where I just assume
- 7:32Speaker 1: the computer knows the numbers negative, but it's just zeros
- 7:36Speaker 1: and ones. There's no minus sign in memory.
- 7:38Speaker 2: This is one of the most elegant hacks in computer science.
- 7:41Speaker 2: If you are designing a computer from scratch, you might think, okay,
- 7:44Speaker 2: let's use the first bit as a sign zero for positive,
- 7:47Speaker 2: one for negative.
- 7:48Speaker 1: That seems logical.
- 7:49Speaker 2: It is logical, but hardware hate special cases. If you
- 7:53Speaker 2: did that, you'd need separate circuits for addition and subtraction.
- 7:56Speaker 2: You'd need special logic to handle positive zero and negative zero.
- 8:00Speaker 2: It's a mess.
- 8:01Speaker 1: So instead we use two's complement.
- 8:03Speaker 2: Right, and two's compliment is pure genius because it turns
- 8:06Speaker 2: subtraction into additions.
- 8:07Speaker 1: Okay, I looked at the recipe in the book invert
- 8:09Speaker 1: all bits and add one. It sounds like a sorcery spell.
- 8:12Speaker 1: Why does adding one make it work?
- 8:14Speaker 2: Okay? Imagine a mechanical o doometer in an old car.
- 8:17Speaker 2: It's set at zero zero zero zero. If you roll
- 8:20Speaker 2: it backward one mile, what does it show?
- 8:22Speaker 1: It rolls over to nine nine exactly.
- 8:26Speaker 2: The system wraps around in the computer's binary world. If
- 8:29Speaker 2: you are at zero, zero, zero, and you subtract one,
- 8:32Speaker 2: you roll backwards to eleven eleven all ones. In a
- 8:36Speaker 2: sign system, we decide to interpret that all one state
- 8:39Speaker 2: not as a huge number, but as negative one.
- 8:42Speaker 1: So the invert and add one rule is just a
- 8:43Speaker 1: mathematical shortcut to find that specific bit pattern.
- 8:47Speaker 2: Precisely, it calculates the rollover value. It aligns the negative
- 8:50Speaker 2: numbers so that if you add five and negative five,
- 8:53Speaker 2: the binary actually adds up to zero. It essentially rolls
- 8:55Speaker 2: the odometer back to all zero's. Naturally, the CPU doesn't
- 8:58Speaker 2: even know it's doing subtraction. Just adding that is.
- 9:01Speaker 1: Elegant, But Hyde warns us about the edge case from hell,
- 9:04Speaker 1: the number that cannot be negated.
- 9:06Speaker 2: Ah, yes, the minimum negative number. In a sixteen bit system,
- 9:10Speaker 2: your range goes from plus thirty two thousand, seven hundred
- 9:12Speaker 2: and sixty seven down to negative thirty two thousand, seven
- 9:15Speaker 2: hundred and sixty eight.
- 9:16Speaker 1: Wait, those don't match.
- 9:17Speaker 2: They don't because zero takes up one of the positive
- 9:19Speaker 2: slots effectively, so the range is lopsided. You have one
- 9:21Speaker 2: more negative number than positive numbers.
- 9:23Speaker 1: So if I try to negate negative thirty two thousand,
- 9:25Speaker 1: seven hundred and sixty eight.
- 9:27Speaker 2: There is no plus thirty two thousand, seven hundred and
- 9:29Speaker 2: sixty eight to turn it into. It doesn't exist in
- 9:31Speaker 2: sixteen bits, so the operation overflows, and in two's compliment,
- 9:35Speaker 2: due to the math, it actually wraps right back round
- 9:38Speaker 2: to negative thirty two thousand, seven hundred and sixty eight.
- 9:41Speaker 1: That is terrifying. So x mclix could return the same.
- 9:45Speaker 2: Number only for that one specific value. And if your
- 9:48Speaker 2: code relies on using absolute values to sanitize inputs, say
- 9:52Speaker 2: you're calculating distance and you assume it must be positive
- 9:55Speaker 2: that one number will crash.
- 9:56Speaker 1: Your system or just create a logic bomb.
- 9:58Speaker 2: Exactly.
- 9:58Speaker 1: That is exactly the kind of low level detail that
- 10:01Speaker 1: high level languages hide until it bites you. Now relate
- 10:05Speaker 1: to this as sign extension. Let's say I have that
- 10:07Speaker 1: number metative five and a tiny eight bit byte, and
- 10:10Speaker 1: I want to move it into a big, spacious sixteen.
- 10:12Speaker 2: Bit word, very common operation.
- 10:14Speaker 1: My instinct is to just pad the extra space with zeros, and.
- 10:17Speaker 2: If you do that, you break the number. Remember, in
- 10:19Speaker 2: two's complement, negative numbers have a one in the high
- 10:22Speaker 2: order bit. If you add zeros in front of it.
- 10:24Speaker 2: That one is no longer the high order bit.
- 10:26Speaker 1: You've just turned a small negative number into a generic
- 10:29Speaker 1: positive number.
- 10:29Speaker 2: Right, so you have to copy the sign.
- 10:31Speaker 1: Bit smeared across the top.
- 10:33Speaker 2: Yes, you smear that sign bit across all the new
- 10:36Speaker 2: upper positions. That preserves the negativity, so to speak. It
- 10:39Speaker 2: keeps the odometer rolled over correctly in the larger container.
- 10:42Speaker 1: All right, let's get into the wizardry bitwise operations. This
- 10:45Speaker 1: is where I feel like the real hacker stuff happens.
- 10:48Speaker 1: We have logic gates a niro or exo hoto jus.
- 10:52Speaker 2: These are the fundamental building blocks of the CPU, but
- 10:55Speaker 2: software developers can use them for some incredible optimizations.
- 10:58Speaker 1: Let's look at the A and D operation. It compares
- 11:01Speaker 1: two bits and only returns one if both are one.
- 11:04Speaker 1: The book mentions a trick for checking if a number
- 11:06Speaker 1: is odd or even.
- 11:07Speaker 2: Using this this is a classic. Usually people use the
- 11:10Speaker 2: modulo operator x to b two. If it's zero, it's even.
- 11:14Speaker 2: But remember what we said about division.
- 11:15Speaker 1: The machine hates it.
- 11:16Speaker 2: It's slow, right, But if you look at binary, any
- 11:19Speaker 2: odd number ends with the one, any even number ends
- 11:22Speaker 2: with a zero. It's that simple. Okay, So if you
- 11:24Speaker 2: simply do xa and d.
- 11:25Speaker 1: One, you're just isolating that last bit.
- 11:27Speaker 2: You just check in that last bit instantaneously. If the
- 11:30Speaker 2: result is one, it's odd, if zero it's even. It's
- 11:33Speaker 2: massively faster than a division operation.
- 11:35Speaker 1: That is cool. And there's another trick with modular right.
- 11:38Speaker 1: If you want to cycle a counter, say from zero
- 11:40Speaker 1: to thirty one, and then loop back to zero.
- 11:41Speaker 2: Yes, module encounter. Normally you do x plus one percent
- 11:45Speaker 2: thirty two. Again, division is expensive, but because thirty two
- 11:48Speaker 2: is a power of two, we can use a mask.
- 11:50Speaker 2: Thirty two in binary is a one followed by five zeros.
- 11:53Speaker 2: The number thirty one is just five ones zero, zero, zero, zero,
- 11:57Speaker 2: zero one on one one one.
- 11:59Speaker 1: So if we a counter with thirty one.
- 12:01Speaker 2: It forces all the upper bits to zero. It effectively
- 12:04Speaker 2: chops off any value greater than thirty one. So x
- 12:07Speaker 2: a and d thirty one gives you the exact same
- 12:09Speaker 2: result as x percent and thirty two, but in terms
- 12:11Speaker 2: of speed it's a Ferrari versus a bicycle.
- 12:14Speaker 1: And this leads us right into shifting. We talked about
- 12:17Speaker 1: how expensive multiplication and division are, but shifting bits left
- 12:21Speaker 1: or right is practically free for the CPU right.
- 12:23Speaker 2: If you shift a binary number to the left, moving
- 12:26Speaker 2: all abyss one slot over and adding a zero at
- 12:28Speaker 2: the end, you've just multiplied by two.
- 12:30Speaker 1: Shift it left again, you've multiplied by four, and.
- 12:32Speaker 2: Shifting right divines by two. Simple enough, with a caveat,
- 12:35Speaker 2: you have to use the right kind of shift. There's
- 12:36Speaker 2: a logical shift right which just fills in with zeros.
- 12:39Speaker 2: That's fine for unsigned numbers. But if you have a
- 12:41Speaker 2: negative number.
- 12:42Speaker 1: Oh right, the sign bit. If you fill with zeros,
- 12:44Speaker 1: you lose the negative sign exactly.
- 12:46Speaker 2: So you need an arithmetic shift, which preserves the sign bit.
- 12:49Speaker 2: It copies a sign bit as it shifts. If you
- 12:51Speaker 2: use the wrong one, your negative number suddenly becomes a
- 12:55Speaker 2: huge positive number and your math breaks completely.
- 12:57Speaker 1: Now I want to push back on something. In the
- 12:59Speaker 1: Packed Data chapter, Hyde talks about squashing a date, month, day,
- 13:05Speaker 1: year into a single sixteen bit word.
- 13:08Speaker 2: It's a classic optimization. Four bits for the month, five
- 13:11Speaker 2: bits for the day, seven bits for the year.
- 13:13Speaker 1: Sure it's saved space, but RAM is cheap Today. I
- 13:17Speaker 1: have thirty two gigs on my laptop. Why would I
- 13:19Speaker 1: burn brain cycles trying to fit a date into two
- 13:22Speaker 1: bytes when I can just use integers. Why make my
- 13:24Speaker 1: code unreadable just to save a few bytes?
- 13:27Speaker 2: That is the billion dollar question. RAM is cheap is
- 13:30Speaker 2: the mantra of modern development. But here's the counter argument.
- 13:33Speaker 2: Cash is expensive.
- 13:34Speaker 1: The CPU cash right.
- 13:35Speaker 2: The CPU is incredibly fast main memory. Your thirty two
- 13:38Speaker 2: GB of RAM is incredibly slow. By comparison. It's like
- 13:41Speaker 2: a library on the other side of town. The cash
- 13:43Speaker 2: is the bookshelf right next to your desk. If you
- 13:46Speaker 2: use big, bloated integers for everything, you fill up that
- 13:50Speaker 2: bookshelf with junk. You get cash misses where the CPU
- 13:53Speaker 2: has to sit idle, twiddling its thumbs, waiting to fetch
- 13:56Speaker 2: more data from across town.
- 13:58Speaker 1: So packing the data isn't just about saving hard drive space.
- 14:01Speaker 1: It's about keeping more data close to the CPU to
- 14:04Speaker 1: keep it fed exactly.
- 14:06Speaker 2: However, and this is the trade off. Hide emphasizes, you
- 14:10Speaker 2: pay a tax every time you want to read.
- 14:12Speaker 1: That pack data because the CPU can't read middle bits.
- 14:15Speaker 2: No, it can't just look at bits five through nine.
- 14:18Speaker 2: It has to fetch the whole word, load a mask
- 14:21Speaker 2: to zero out the other bits, and then shift the
- 14:23Speaker 2: bits over to the right to read the value that's
- 14:25Speaker 2: three or four instructions just to read the day.
- 14:27Speaker 1: Variable, so it's a balance. Pack data uses fewer cash
- 14:30Speaker 1: lines but requires more instructions to unpack, which.
- 14:33Speaker 2: Means if you are just moving data around like a
- 14:36Speaker 2: network router moving at pack at night, save the bandwidth.
- 14:40Speaker 2: But if you're doing heavy calculations on that data, maybe
- 14:42Speaker 2: keep it unpacked so the CPU doesn't have to fight
- 14:45Speaker 2: to read it every single time.
- 14:46Speaker 1: That is a crucial insight. It's not about one right way,
- 14:49Speaker 1: it's about the right way for the constraints.
- 14:51Speaker 2: You have, and that applies to everything we've discussed, whether
- 14:54Speaker 2: it's choosing a data type using a bit wise trick,
- 14:57Speaker 2: or deciding between binary and decimal represent.
- 15:01Speaker 1: We've covered a massive amount of ground, from the physical
- 15:03Speaker 1: voltage to the odometer of two's complement. But I want
- 15:07Speaker 1: to leave our listeners with one final thought from the
- 15:09Speaker 1: book regarding scaled numerics.
- 15:11Speaker 2: This is the one that changes how you look at
- 15:13Speaker 2: a bank statement.
- 15:14Speaker 1: We rely so heavily on float and double types for
- 15:17Speaker 1: decimal numbers, but hide challenges us do we really need them.
- 15:22Speaker 2: Floating point is inherently imprecise. It's an approximation. You add
- 15:26Speaker 2: point one point two in a computer and often you
- 15:28Speaker 2: get point three zero zero zero zero zero zero zero.
- 15:31Speaker 1: Zero four, which is a complete nightmare for financial software.
- 15:34Speaker 1: You can't just lose pennies in the rounding errors.
- 15:36Speaker 2: So the provocative thought is this, can you switch your
- 15:39Speaker 2: mindset to integers. Instead of storing a dollar a fifty cent,
- 15:43Speaker 2: you store one hundred and fifty pennies.
- 15:44Speaker 1: You essentially move the decimal point yourself.
- 15:47Speaker 2: You manage the decimal point in your head, or rather
- 15:50Speaker 2: in your CODs logic. But the machine does pure, fast,
- 15:54Speaker 2: precise integer math. It's a technique called fixed point or
- 15:58Speaker 2: scaled numerics. It forces you to really understand your data's
- 16:01Speaker 2: range and precision before you write a single line of code.
- 16:04Speaker 1: And honestly, that feels like the theme of the whole
- 16:06Speaker 1: book intentionality.
- 16:07Speaker 2: Intentionality. Don't just let the compiler make the decisions for you.
- 16:11Speaker 2: You make the.
- 16:11Speaker 1: Decisions, and that is how you write great code. Thanks
- 16:15Speaker 1: for diving deep with us today, Happy coding.