R. Clayton (rclayton@monmouth.edu)
(no date)
I used character arrays in assignment 2, which i shouldn't have used. I
won't use them again again.
The issue isn't whether or not you should use character arrays; it's whether or
not you are using them correctly. It's perfectly acceptable to use character
arrays in your assignments; but, it's vital that you use them correctly.
When I tell you not to use character arrays, I do it from a pragmatic
perspective: it's much harder and requires more work to use character arrays
correctly. To use character arrays safely and effectively, you essentially
have to re-implement strings, and strings have already been implemented for
you, so why do extra work?
It would certainly be educational for you to implement strings, and I encourage
you to do so, but you're better off not doing that as part of your assignments,
because you have other, more important things I want you to think about.
This archive was generated by hypermail 2.0b3 on Thu Dec 18 2003 - 16:15:05 EST