> Øyvind Harboe > Verzonden: donderdag 30 april 2009 16:04 > Aan: Dick Hollenbeck > CC: Openocd-Dev > Onderwerp: Re: [Openocd-development] C99 compatibility (Was: > MSVCcompatibility (Was: [PATCH] CMake)) > > > Linux is an operating system. OpenOCD is an application. This > > would be like building your roof out of concrete block, which is > > material most appropriate for a foundation. > > > > > > Unless somebody pays for the work, the guys doing the work > will get to > > decide. It is difficult to ask a volunteer to do something > a certain way. > > > I'd like to see some sensible and constrained use of C++: > virtual tables & subclassing, exception handling and resource > tracking. > > C++ *can* be a pretty hellish language if one goes overboard > with weird > C++ features > and libraries...
IMHO that is true for any language. Personally I like to write code in a clear way so that anyone can understand it without having to grab a book to read the fine print. Try not to be 3l33t. I write stuff like this: bool var; if (var==true) a++; It may seem stupid, but I never ever got questions about how my code works when other people are digging around in it. Nico Coesel _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development