Re: naming conventions



>>>>> "A" == Alex Yukhimets <aqy6633@acf5.nyu.edu> writes:

A> , not to mention that it is a Java standard, etc.)

Java doesn't allow underscores in identifiers?  If you just meant,
it's the convention in Java to use MixedCapsAllRunTogether for
identifiers, my answer is "That's nice."  That has exactly the same
weight as the fact that K&R did things a certain way.  It doesn't have
the force of law.  Besides the fact that this isn't java.

A> Would it be very difficult to have .h file which would #define all
A> API functions as MixedCapsAllRunTogether for those who prefer this
A> way?

No, it shouldn't be, and you could create it yourself.  However, it
would drain the namespace unnecessarily for what isn't really a big
deal.  Either way you choose, you'll find people who don't like it.
So it's really an arbitrary choice.

-- 
Alan Shutko <ats@acm.org> - By consent of the corrupted
Creativity is no substitute for knowing what you are doing.



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