comp.lang.ada
 help / color / mirror / Atom feed
From: "W. Wesley Groleau (Wes)" <wwgrol@PSESERV3.FW.HAC.COM>
Subject: Feeling out of sorts about learning styles
Date: 1996/08/21
Date: 1996-08-21T00:00:00+00:00	[thread overview]
Message-ID: <9608212203.AA14982@most> (raw)


The first time I saw quicksort in a high-level language, it took a little
while to understand it, even though I had been given a verbal explanation.

Robert's two-line explanation of the algorithm as applied to a deck of
cards was instantly clear.

Tim's assembly approaches the other extreme.  Knowing assembler has its
advantages, but it will NEVER make quicksort easier to understand!

But neither speed, simplicity, nor size (table space) is necessarily
the criteria for selecting an algorithm...

The best algorithm for sorting a deck of cards is the most fun:

until sorted, loop
  Play solitaire!
  if deadlock then
    cheat
  end if
  if still deadlocked
    report missing cards or something
  end if
end loop;

(All work and no play...)

---------------------------------------------------------------------------
W. Wesley Groleau (Wes)                                Office: 219-429-4923
Hughes Defense Communications (MS 10-40)                 Home: 219-471-7206
Fort Wayne,  IN   46808                  (Unix): wwgrol@pseserv3.fw.hac.com
---------------------------------------------------------------------------




                 reply	other threads:[~1996-08-21  0:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox