Skip to content

Curiouser and Curiouser

Wer ist der Wasser?

Day: May 8, 2007

Digression into Swaps

Did you know you can swap the value of two variables without temp??

$a = $a + $b;
$b = $a – $b;
$a = $a – $b;

I wish I were so clever as to come up with that on my own. Still, I post it here to spark the imagination of those who find it as fascinating as I.

😉

Author LucelloPosted on May 8, 2007May 19, 2007Categories Geeky6 Comments on Digression into Swaps
May 2007
S M T W T F S
 12345
6789101112
13141516171819
20212223242526
2728293031  
« Apr   Jun »

Recent Comments

  • Germanqwe on Winterberg
  • saradee on On friendship
  • BunnyToaster on On friendship
  • Lucello on Happenings
  • Michi on Happenings

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Blogroll

  • Bec’s Crafts
  • Daniel Miller
  • Gesche’s World
  • Hervé Saint-Amand
  • HOMEPAGE
  • Ingmar Weber
  • Martin Ockle
  • Matthias’s Blog
  • Michael Roth
  • Nils Reiter
  • Procrastinators Union
  • Sikander Hayat
  • The MacCast
  • Tobi Kellner
  • Tracy
Curiouser and Curiouser Proudly powered by WordPress