in reply to OT: Mathematics for programming (again)
Given a sorted array and a value we know is in it, why can we know for sure that if we search it in linear order starting at the beginning, we will eventually always find the value at some index?
Because we know it will. How would having a proof of that help a programmer?
but the mythical algebra could be built on simple theorems like this, much like Eucledian geometry, and then expanded to cover deeper and more meaningful theorems.
When someone shows me how math can help me write code to deal with
*Because that's when the shop next door took delivery of it's peanuts, which being very dense meant it was easy to overload the freight lift and cause the motor to arc.
Math theorems tend to only work under very specific sets of assumables, which real-world code rarely enjoys.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: OT: Mathematics for programming (again)
by amarquis (Curate) on Sep 11, 2008 at 14:26 UTC |