[Kexi-devel] addition

Martin Ellis m.a.ellis at ncl.ac.uk
Fri Nov 18 20:13:08 CET 2005


Any reason why it's written like:

s <<"LINE 1" << endl;
s <<"LINE 2" <<endl;
s <<"LINE 3" << endl;

and not this?

s << "LINE 1" << endl
  << "LINE 2" << endl
  << "LINE 3" << endl;

The latter is easier on the eye, and makes it easier to change the
variable name.

Also it might be nice to separate put variables that go into the output stream 
on their own line (slightly further indented) so it's easier to scan which 
variables are used.

Also, is the output (in each cell) HTML escaped?

Martin


More information about the Kexi-devel mailing list