News for hackers. Stuff that matters.
Re:Plan 9 Coding Conventions for C by nteon on Wednesday May 22, 2013 @08:37AM (#5750312)
I can't stand macro comments - it makes it impossible to figure out whats going on without being sure to open the file in a specific editor with a specific project loaded. Say you have a separate lib project used by an application - if you open up an individual file from that lib while working on the application in Visual Studio it won't have the necessary context to 'comment out' macro comments. Its also hostile to people who use vi and emacs.
Re:Plan 9 Coding Conventions for C by kleiba on Wednesday May 22, 2013 @09:51AM (#5750783)
Sorry if I'm unenlightened... but what are macro comments?
Re:Plan 9 Coding Conventions for C by enqk on Wednesday May 22, 2013 @09:58AM (#5750841)

  printf("Legit code\n");

  #if 0
    /* bunch of code to comment out */
    printf("Commented code\n");
  #endif
Re:Plan 9 Coding Conventions for C by rcxdude on Wednesday May 22, 2013 @02:33PM (#5752848)
Those do with fine in vim though (even using #if 1 and #else will highlight the #else as a comment)