Thread Previous • Date Previous • Date Next • Thread Next |
That patch is an improvement.There were larger problems elsewhere in this file. The m_Ref field if it needs to hold ASCII rather than a wxString, should have been std::string. Why not use the C++ language at least in this basic way? Why not use a vector somewhere in here?
I committed it with some modifications of my own. This project needs some C++ coding standards. Such widespread use of upper case in automatic variable names is not natural to me. I would prefer to reserve uppercase variable names (i.e. first character thereof) to public globals, period.
It is all a bit de-motivating. Dick c w wrote:
OK, after a little bit of a vacation, I've changetheVariables to a more Hungarian notation. Constructive criticism is always appreciated, here'sthe diff for your review. --- In kicad-devel@xxxxxxxxxxxxxxx, "panhandler13" <panhandler13@...> wrote:Sounds good to me, it'll give newbies like me aplace to learn thestyle of the project :) --- In kicad-devel@xxxxxxxxxxxxxxx, Jonas Diemer<diemer@> wrote:Am Donnerstag 08 Mai 2008 06:04:39 schrieb kajdas:So do we have any preferences for the 'newcode'?Maybe we should create a wiki page for CodingStyle, includingDick's remarksabout uncrustify from a few weeks ago.------------------------------------ Yahoo! Groups Links
-- Best Regards, Dick I pray we can elect a U.S. President that has the common sense to enforce our existing immigration laws and stop the invasion from Mexico.
Thread Previous • Date Previous • Date Next • Thread Next |