[Lazarus] 'with' is evil, isn't it?

Fr0sT fr0st.brutal at gmail.com
Wed Aug 3 16:51:17 CEST 2011


I personally use "with" widely and never experienced any troubles with
it but I know that many people just hate this statement (see
discussion on Emb-ro forums and one of the most popular requests on
Emb-ro quality central).
I guess problem could be solved by modifying statement like this:
  with some.very.very.long.name as foo, some.other.giant.object.name as bar do
    foo.Field := bar.Field
but it IMHO violates Pascal syntax philosophy.




More information about the Lazarus mailing list