SQL call formatting style
Jason Pyeron
jason at pyeron.com
Tue Mar 25 19:06:47 UTC 2003
Sergey,
I understand our policy does not explain why to use a concatenation,
but here is the gist: when new lines are embedded by formatting it is not
obvious or explicit as to their existence. It is always better to use a
"\n".
This point was supported by Myk's statement:
... I find multi-line strings easier to work with, but being able to
work with the MySQL process list is really important for Bugzilla system
administrators, so I think we should use concatenation ...
On Tue, 25 Mar 2003, Sergey A. Lipnevich wrote:
I didn't think this discussion is about /parameters/, and so far I'm
justified by other opinions. The policy itself looks good but has
nothing to do with how to code these long parameters, as one multiline
value or several concatenated chunks. Sorry if I misunderstood...
Jason Pyeron wrote:
...
> When wrapping lines always use a concatenation symbol.
...
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- -
- Jason Pyeron http://www.pyerotechnics.com -
- Owner & Lead Pyerotechnics Development, Inc. -
- +1 410 808 6646 (c) 500 West University Parkway #1S -
- +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 -
- -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately. Any other use of the email by you
is prohibited.
More information about the developers
mailing list