On 6 November 2014 10:28, Bobby Powers <bobbypow...@gmail.com> wrote:
> Hello,
>
> Hiltjo Posthuma wrote:
>> - Don't use C++ style comments (//).
>
> I personally find C++ style comments more pleasant on the eyes for
> single-line comments, and they are part of the C99 spec.
>
> Can someone explain why they think /* */ sucks less than // ?  It
> doesn't seem like it is for compatibility when st and dwm require C99
> anyway.  An internet search did not turn up much, apologies if I've
> missed an obvious link or previous discussion.
>
> yours,
> Bobby
>

My code, my response:

While i do vaguely see the benefit of being able to strip all newline
characters, I really don't give a shit. I use // because it is easier
and faster for me to write, especially while debugging and writing new
code.

Many compilers who were only C89 or ANSI compliant did in  fact allow
c99 / c++ style comments anyway

Yours Truly,

Calvin

Reply via email to