[speech]
Some do it {
this way },
and some do it
{
that way
}
What about tabs instead of
spaces ?
function TryToFollowThisCode {
case 1: {
do something here
}
case 2: {whatever}
else{
not sure}
default: some meaningless error
}
We all have our favorite ways of doing things, but, unfortunately, mine may not be yours, and the other way 'round.
What about using phpCodeBeautifier (http://www.waterproof.fr/products/phpCodeBeautifier/)?
It's free, and released code can then be consistent, and far easier to read and follow by everyone.
Also hackers can then have some consistency to emulate, or if phpCodeBeautifier's settings are made known, can format their own code accordingly.
A multi-tasked and widely dispersed team force can then present a united approach and delivery.
[/speech]
Fat Lizard
Consistent Code Formatting - Suggestion to Developers-Hackers
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Consistent Code Formatting - Suggestion to Developers-Hackers
and here goes the next round of religious arguments...
just like the vi vs emacs arguments.
just like the vi vs emacs arguments.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Consistent Code Formatting - Suggestion to Developers-Hackers
Religious arguments?
A sensitive issue it would appear.
A sensitive issue it would appear.