On 6 October 2012 03:12, V G wrote: > In either case, I'm sold on the type A (asterisk near the type) style, > since boost (http://boost.org) with 18 million+ lines of code is using it= .. > So I'm not the only one who likes it. As I said, it helps me sleep at > night. > Sure, you like it, that's fine, use it, after all it is your code ;-) But if later on you need an excuse to use style B, then all the others (GNU, Linux, Mozilla, Apache etc) are tend to use the style B. So if it is good enough for much bigger projects than Boost library, then it is good enough for you too ;-) The best thing is that you do not really need to stuck for one style for your rest of the your life or the life of your project. There are utilities that are changing the coding style for you, many of them are open source and free. One of the most common is 'indent', which should be on your linux box or mac by default. But there are many others, some of them are even better than indent. To change pointer notation style for example, Artistic Style does a good job for you: http://astyle.sourceforge.net/astyle.html#_align-pointer With 'indent' here is a quick test for formatting a one liner to a better standard: (notice the different pointer notations I have put into this test program, and how it unified) $ cat testIndent.c int main(){int* a;int *b;int*c;printf("a,b,c");return 0;} $ cat testIndent.c | indent -st -bl -di4 -i4 int main() { int *a; int *b; int *c; printf("a,b,c"); return 0; } Tamas > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 int main() { char *a,*s,*q; printf(s=3D"int main() { char *a,*s,*q; printf(s=3D%s%s%s, q=3D%s%s%s%s,s,q,q,a=3D%s%s%s%s,q,q,q,a,a,q); }", q=3D"\"",s,q,q,a=3D"\\",q,q,q,a,a,q); } --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .