On Sun, 29 Oct 2000 13:08:32 +0200, you wrote: >>Under the hood C++ treats references as pointers. What else could they >>be :-) > >Onions ? ;-) > >BTW one of the most often seen 'bad C' cases (including by me) come from >people who have done assembly and then try their evil hacks on C, while >ignoring the structured nature of C, which is wrong. It takes time to >shake a habit (speaking from experience). > >Peter Depends on the application. IMO No-one should try using C on a small micro until they've done a fair bit of assembly first - that way they get a good feel for the hardware, understand how to best use the limited resources available, and be able to tell if the compiler is generating sensible-sized code.=20 I'd bet that any assembler-to-C convert would almost always produce smaller code than a C 'purist'. OK the code may not look as pretty, but pretty code isn't a lot of use if it doesn't fit the chip! -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics