Re: multi-line comments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 17, 2017 at 12:22 PM, kefu chai <tchaikov@xxxxxxxxx> wrote:
> hi Amit,
>
> i found that you started to encourage developers to use "/* */" for
> multiple-lined comment while reviewing pull requests. IIUC, it's more
> of a gray area, and sort of a personal preferences. so i don't
> understand why we need to go this way. and i believe, in modern C++
> practice, "//" is more common[0], and works better for developers. in
> the sense that, it's more readable, conforms to C++ standards, and
> works just fine with editors/tools.

Yep.  Both are completely acceptable.

John

>
> ---
> [0] https://google.github.io/styleguide/cppguide.html#Comment_Style
>
> --
> Regards
> Kefu Chai
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux