kicad-developers team mailing list archive
Mailing list archive
Re: BOM support
On 8/6/2010 1:26 PM, Lorenzo Marcantonio wrote:
> On Fri, 6 Aug 2010, Brian F. G. Bidulock wrote:
>> Looking at the code I can see that a lot of people have
>> been "programming on their hands and knees" in C++.
>> Most of it is C code fed at a C++ compiler.
> I've seen qsort around instead of std::sort. Also the custom list
> classes instead of std containers. But you also have to think about the C++
> status when kicad was designed at first (it was a DOS program right?
> then no std namespace, even).
Indeed. There are even a few malloc()/free() calls in there as well just to
keep you honest. Kicad was originally written is C. JP can give you a better
history of Kicad's development than I can. There is still a lot of legacy C
code around that needs to be cleaned up. If you are bored and _really_ want to
get to know your way around the Kicad source code, feel free to roll up your
sleeves and get your hands dirty. ;)