* Re: Learning approaches (was What's the best language...)
@ 1996-08-14 0:00 W. Wesley Groleau (Wes)
0 siblings, 0 replies; 2+ messages in thread
From: W. Wesley Groleau (Wes) @ 1996-08-14 0:00 UTC (permalink / raw)
:> Here are the answers of four people. Which one will get hired?
Sorry about the missing fourth person. He never got past trying
to figure out how to declare a string type such that some of the
characters of each instance would keep incrementing.
---------------------------------------------------------------------------
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
---------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Learning approaches (was What's the best language...)
@ 1996-08-14 0:00 W. Wesley Groleau (Wes)
0 siblings, 0 replies; 2+ messages in thread
From: W. Wesley Groleau (Wes) @ 1996-08-14 0:00 UTC (permalink / raw)
> You are writing a preprocessor program that takes C source as
> its input. The preprocessor replaces all variables and symbols
> in the program with unique names of the form VARxxxxxx, where
> "xxxxxx" is an incrementing decimal number. Describe what is
> needed to handle the case where the input source file already
> contains a variable of that form.
Here are the answers of four people. Which one will get hired?
Person who prefers to look at requirements, generalities, abstractions:
"Nothing. If the input is to be replaced, any similarity it
has to the appearance of the replacement is irrelevant."
Person who prefers to look at implementation, specific, concrete:
"Well, I suppose each string could have a flag associated with
it so that when it goes through the next pipe and we match the
output string to the input we would know that it isn't a match
by the flag and then we could strip the flags off at the end
with awk or perl."
Experienced PL/1 programmer:
"That's a stupid thing to do; there no sensible reason for taking
meaningful symbols and robbing them of all mnemonic value. If
you were using PL/1, you wouldn't be asking such a question--
your staff would have straightened you out long ago."
--
---------------------------------------------------------------------------
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
---------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1996-08-14 0:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-08-14 0:00 Learning approaches (was What's the best language...) W. Wesley Groleau (Wes)
-- strict thread matches above, loose matches on Subject: below --
1996-08-14 0:00 W. Wesley Groleau (Wes)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox