Lets all agree…

… that we should write our pointers and reference declarations like this:


int * foo;
int & foo;

More explictly: Lets forget about the dispute between “int *foo” and “int* foo” and just put spaces on both sides, OK?

This entry was posted in General. Bookmark the permalink.

One Response to Lets all agree…

  1. Robert Christ says:

    Dean decided to do that one day. I now have
    code with char* blah, char *blah and char * blah
    to deal with.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>