[prev] [thread] [next] [lurker] [Date index for 2007/01/31]
* blah blah <qwerty1602@xxxxx.xxx> [2007-01-31 09:40]: > Don't forget BSTR's, the best of them all. Typedef'd as a WCHAR > *, so you'd think they are the same, yet the four bytes before > the first character contains the length of the string. Greatest > idea ever. > > Hate. I am not disputing the hatefulness of false cognate typedefs. Pascal strings however *are* in fact a great idea for a tiringly long list for reasons -- better than C strings in every conceivable way bar one or two. (My trajectory as a programmer was BBC BASIC -> Pascal -> Forth -> x86 assembler -> C. When I first heard how strings worked in C, I thought "now that's stupid." I was but a greenhorn, but my intuition was clearly already decent; even a greenhorn can tell that C strings blow.) Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>There's stuff above here
Generated at 23:01 on 06 Feb 2007 by mariachi 0.52