TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Proportional Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
Mike Stark <[log in to unmask]>
Tue, 25 Apr 2000 10:27:33 -0400
text/plain (39 lines)

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

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


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:
"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