Friday, November 03, 2006

Geek Crush

can you love a theorem? today as i was writing a piece of code i was considering the clearest way to express a condition. ah, de morgan's. i'm always impressed by the logic of it. whichever way i choose to express the condition it's the same! clearly, one way makes the program easier to read but in terms of results it really doesn't matter. i even have this weird mental image or feeling for it where the problem is this spongy material that i can push completely through with the same effort from either side.

my love affair with boolean logic started in the eighth grade when i discovered a book on binary and other number bases. it's not a very passionate love affair. if i'd been more in love i might have have taken a symbolic logic course. so maybe i'm not in love with de morgen's theorem but i'm awfully fond of it.

3 Comments:

Anonymous Anonymous said...

Using DeMorgan's might make it easier to code, but it might also make it harder to understand for someone who doesn't have the passion for logic that you have.

For me, I was amazed at the power of Carnot maps... they are cool.

11/03/2006 9:00 p.m.  
Blogger kristin said...

yeah, i found carnot maps amazing too. i don't have chance to use them all that often.

11/04/2006 11:54 a.m.  
Blogger Kern said...

There is definitely beauty in mathematics; Einstein certainly thought so. I seem to recall him saying something along the lines of, if you can't express something in a simple, beautiful way, you probably haven't really hit on the truth yet.

Binary logic seems especially to lend itself to beautiful simplicity.

11/04/2006 1:41 p.m.  

Post a Comment

<< Home