>>>>> "Lars" == Lars Gullik Bj�nnes <[EMAIL PROTECTED]> writes:

Lars> Yes, but to avoit rtti is also Good(tm). I'd really like to
Lars> think of a scheme where we could ge rid of the Inset::Code.

I absolutely agree that avoiding rtti is good. I just wanted to make
sure it was related.

Lars>  | Why not directly writeInsetUrl(const & InsetURL) {...}  | |
Lars> Passing the inset is certainly simpler than a list of arguments
Lars> | (where you can put arguments in the wrong order, etc.).

Lars> then the writeInsetUrl (which should perhaps be named just
Lars> writeUrl) needs to know a lot more about InsetUrl internals.
Lars> (what functions to access to get the required info f.ex.)

Well, this is of course possible for URL:s, but what about math
insets, table insets or text insets? Are you going to pass 10
arguments just to get it right? IMO, this only amounts to more code
(not much, admittedly).

Lars>  | You should take showers more often ;)

Lars> Hmprf, do I stink all the way to France?

No, but when you take showers, your bright ideas fly all the way to
France... 

JMarc

Reply via email to