"Asger K. Alstrup Nielsen" <[EMAIL PROTECTED]> writes:

| > The alternative is
| > (2) string LyXParagraph::String()
| > that returns a string from the paragraph.
| > 
| > Do you really think that (2) is clearer/better than (1) ?
| > Should I stay with (1) ?
| 
| If the method produces a new string, and does not rely on
| an old one, then I think (2) is the way to go.
| 
| Reason: The interface is more clear, easier to use, and 
| more self-explaning.

_and_ compilers are able to optimize this anyway.

        Lgb

Reply via email to