Index:
[thread]
[date]
[subject]
[author]
From: Austin Fath <jaf13@duke.edu>
To :
Date: Sun, 31 Jan 1999 23:52:49 -0500
Re: lab reference
> What about in parsing the code, is there a way to find what parts of
> entered data are variables, operators, or constants without using if
> statements to check the string one letter at a time?!!?!
>
> First, read the above. Second, note that I would STRONGLY suggest
> AGAINST doing it.
>
> In class, Professor Duvall demonstrated how such a switch statement
> could be eliminated by a carefully thought out inheritance hierarchy.
> Please see the expression tree demo code.
>
> So, to directly answer your question: it's not really acceptable.
>
> Good luck, etc.
> huned
>
> Huned M. Botee, UTAesque
> huned.botee@duke.edu
Index:
[thread]
[date]
[subject]
[author]