← Back to team overview

kicad-developers team mailing list archive

Re: Why ALL capital letters for classes and typedefs

 

On Fri, Jun 22, 2012 at 01:02:18AM -0700, Alexander Lunev wrote:
> The KiCad coding style policy contains the requirement: "Class, typedef, enum, name space, and macro names should be comprised of all capital letters."
> My question is why should CLASSES and TYPEDEFs be comprised of ALL capital letters? What is the reason for that?
> 
> The most common convention that I have ever seen before sounds like:
> "A class name should begin with a capital letter and be written in mixed case (e.g., String). If a class name consists of more than one word, each word should begin with a capital letter (e.g., StringBuffer). If a class name, or one of the words of a class name, is an acronym, the acronym can be written in all capital letters (e.g., URL, HTMLParser)."

Well that's not the strangest coding convention in kicad :P just ask our
tyrannical leaders, they'll just say "they can't read them otherwise".

Oh well, I've no issues with that...


-- 
Lorenzo Marcantonio
Logos Srl


Follow ups

References