[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-dev: C question



al davis wrote:

This is only useful for out-of-order intialisation, so it's
not relevant here anyway.

Actually, for large projects it helps a lot.

Ok, I give up. Perhaps I should have said 'required' rather than 'useful'. I write a lot of VHDL, and I use named association much more frequently than positional association (ie. the same thing). I don't do this in C/C++, because it's not in C++; it won't compile on a C++ compiler.


NGspice also uses // comments, which are not in standard C. I would not be surprised if it requires gcc to compile.

Also new in C99. I think pretty much everybody supports C99, so I'd go for it (and '//' comments were also commonly supported long before C99). C99 also has various major improvements on C89/C94 but, IMHO, you need to be careful that you don't use anything that's not also in C++. And, again IMHO, C++ is vastly more usable than any C.


:)

Evan


_______________________________________________ geda-dev mailing list geda-dev@xxxxxxxxxxxxxx http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev