TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Proportional Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version: 1.0
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
X-To: Hassett <[log in to unmask]>
Date: Tue, 25 Apr 2000 10:27:33 -0400
Reply-To: Mike Stark <[log in to unmask]>
From: Mike Stark <[log in to unmask]>
In-Reply-To: <v04011702b52aa7b2e320@[207.58.30.85]>
Content-Type: text/plain; charset="us-ascii"
Parts/Attachments: text/plain (39 lines)
Add

"" -- I have absolutely nothing worthwhile to say ;)

Any self respecting instructor should have the null string in the test
suite for this assignment.

Mike

At 9:53 PM -0400 04/24/00, Hassett wrote:
>Getting back to Glenn's example (I'm a bit behind on my e-mail):
>
>> That's correct.  An example is "Madam, I'm Adam."  If you ignore the
>> spaces and punctuation, that becomes MADAMIMADAM, which is the same
>> sequence of letters either forward or backward.
>
>This is a nice example (particularly for Ada) because of what you
>get as you trim the ends (and adjust case, punctuation, and spacing):
>
>  "Adam, I'm Ada."  -- Maybe he wasn't talking to Eve!
>  "Dam, I mad!"     -- Weak on spelling and grammar, but it makes some sense.
>  "Am I Ma?"        -- Mother has amnesia?
>  "mim"             -- At least it's a word!
>  "I"               -- Ditto
>
>- Jim Hassett


-----------------------------------------------------------------
Michael Stark                                                   Director,
Software Engineering Laboratory
Phone: (301) 286-5048                                Code 581
Fax:    (301) 286-5719                                 Greenbelt, MD 20771
e-mail: [log in to unmask]            web:
http://www.cs.umd.edu/~mstark
"Always code as if the guy who ends up maintaining your code will be a
violent psychopath who knows where you live"   - John F. Woods
-----------------------------------------------------------------

ATOM RSS1 RSS2