ATC :: Since February 2001

Subscribe to ATC Send e-mail to Rob

I work at Pelco. The opinions expressed here are my own, and neither Pelco nor any other party necessarily agrees with them.

View Rob Fahrni's profile on LinkedIn
My Amazon.com Wish List

Google
Web rob.crabapples.net



Krusty will code C++ for food.
MarsEdit: Powerful Blog Authoring Made Simple. Need a Snow Day?
RSS
Harry Potter Automatic News Aggregator
Green Hosting! This site is hosted by Dreamhost.

Wednesday, August 27, 2008

I couldn't agree more - [8:09 AM]

Jason Bock: "The thing about having a public .NET API using underscores is it doesn't fit the recommended coding style. If you're in Eiffel, that's actually what you do - in fact, you use upper-case and underscores (e.g. GET_CUSTOMER). But it .NET, public APIs should be Pascal-cased with no underscores - e.g. GetCustomer." - It's kind of strange how cultures form around coding style. You have the *NIX hacker that tend to use lower case and underscores and heaven forbid K&R style bracing, ick, the most disgusting coding style EVER! I find it hard to believe the IronPython and IronRuby teams use the K&R style, but they both started life outside of Microsoft, so they have that open source feel.

I'm with Jason on this, I do prefer Pascal cased public methods, and since there is a standard they should follow it, even if they don't like it.

Consistency is important.

Labels: ,


Click here for a permalink to this entry. comment