Sorry to butt in but,
If the bakery code is intelligently to recognise different styles then would
it be much of a job to automatically reformat the submitted code rather than
have the user do it? Couldn't it call the indent program via the command
line?
Just wondering cause I also prefer the "ne
Hi!
I just read the Coding standards for Cake, I guess CakePHP take the
words of the prophets K&R + tab.
That's OK... It's been around for 30 or 40 years... I like it.
BTW, Jeff, perhaps you should look also look on this matter as a
"Convention over configuration" point of view...
If you want
[EMAIL PROTECTED] wrote:
> Man I guess I'm really not getting my point across. This will be my
> last try, I promise :)
Code formatting debates are religious debates, there's no point in
having them and no matter what you say you'll never change anyone's
opinion.
Indent provides a way around
Brent,
Thanks for the advice, I've been on *nix for what seems like forever,
and I've known and used indent before. But I'm sure others will be
able to use the advice as well.
Man I guess I'm really not getting my point across. This will be my
last try, I promise :)
I mean the submission page
Jeff Brown wrote:
> So , am I confused? Is there some dichotomy? Would my code have been
> accepted with the "nesting-scope-obvious" opening bracket position?
If you're on a unix-like machine look into the "indent" program, the
code formatting problem was solved in 1976. If you're on window
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
On Sep 24, 2007, at 2:16 PM, Chris Hartjes 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 l
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/CodingSta
I cannot speak to the problems you had with getting your code posted,
but the Cake standards are basically PEAR standards... which have been
around for a long time, I think.
I believe in a large coding community it is important to have these
standards. One isn't necessarily right making anoth