[Mono-dev] Coding conventions when porting MS code.
monoforum at my2cents.co.uk
Sat Nov 15 13:17:13 UTC 2014
I'm looking into porting some code over from the reference source, and I've
noticed that it doesn't match the mono coding conventions.
Things like spaces instead of tabs, no space before the opening bracket in
a method call etc.
They seem like minor things, so I'm curious what the stance should be?
Maybe it's 2 rules? if you port the entire file without changes, it's ok to
keep with MS conventions? if you are porting individual methods you need to
match the surrounding code?
Also, if you are porting an entire file, should the Microsoft copyright
header be retained?
I'm sure there are other things, so there probably needs to be a section on
the site to cover the rules around porting from the reference source.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list