Chris, On rereading my message, I think my use of 'code nazis' was too harsh. (Although I was trying to make light of it somewhat, And I did refer to myself as a code-nazi as well in one of my pre-submit versions of my note, but I seem to have cut that out... :)
What I was trying to get across, is that the verbage on the summision page looks exceedingly strict, more strict than it seems it really is, since other articles ARE there with my prefered intenting style. I get what you mean about 'Team Spirit' and agree whole-heartedly, which is why I maintain my standards, and have done so at every company and personal project I've worked on for years. Again, I'm not saying having the style is wrong. Because I think it's right. I'm saying having the note on the site almost kept me from submitting the article, when the first try failed. I decided to post with the rewrite, only because It was so small. For example, even adding the word "recommended" in one or two places would be acceptable. I mean, if I'm getting some code from the Bakery for use in an application I'm writing, I'll certainly take it as is. I'm not going to go reformat it, unless, as you mention, I run into some trouble. Joshua, I first looked at PHP in 1997, using it to build and modify a very small application. As the syntax is very similar to the C/C++ body of languages, I applied my standards to it with great success. This was all prior to PEAR comming around, and more importantly before the PEAR standards were even vocallized. I'd thought about mentioning it in my first note, but didn't. I'm not going to try and change every php project in the world. I'm not even trying to change every cake project in the world. I just think you can read either code style equally, why declare that all other won't even be considered? Just looking to prevent others out there from not submitting code based on that warning. Peace, Jeff On Sep 24, 2:16 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On 9/24/07, Jeff Brown <[EMAIL PROTECTED]> wrote: > > > After a careful reading of the 'The Bakery Article Guidelines' > >http://bakery.cakephp.org/pages/guidelines > > And in particular the one paragraph on 'Coding Guidelines' with it's link > > to: > >https://trac.cakephp.org/wiki/Developement/CodingStandards > > I came to the conclusion that the Cake 'team' was full of code nazis, or at > > least one such was in charge of the articles. > > Well, coding standards are like "team chemistry" in professional > sports: they only matter when something goes wrong. > > Now, I can appreciate that you think your own coding standard is > better than what CakePHP is advocating, and that's fine. But if you > want to contribute things, then there are some rules that need to be > followed. I remember my first contribution to CakePHP was ripped > apart and reformatted by PhpNut. Didn't like my tab stops in my > editor or something, but that's his right as the lead developer. > > Childish? Maybe. Given the level of arguments I've seen about tabs > vs. spaces and 4 spaces to a tab vs. 8 spaces I have decided that > adhering to a code standard for a project is just another level of > self-discipline that you choose to adhere to or suffer the > consequences of your peers. > > If your only reason to not submit to the bakery because you feel that > the core development team is (to use your own words) "full of code > nazis", well, I think it says more about you than the coding standard > itself. As one of the chosen few who can peek at articles before they > are approved, I see nothing wrong with your submission. But then > again I'm not a code nazi. > > -- > Chris Hartjes > Senior Developer > Cake Development Corporationhttp://www.cakedevelopment.com > > My motto for 2007: "Just build it, damnit!" > > @TheKeyboard -http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
