Environment versions
Network:
Windows Server 2016
>>Also I find with/endwith overrated, it does not make the code more clear, and also does not really save that much time.
>
>It looks better to me, specially if it's with this.that.other.something.even.deeper, repeating such a sausage makes code unreadable. Of course, if you get into a situation to have such a reference, you're building a kludge anyway. Shorter references usually mean better design.
In such cases we use a local reference var to this.that.other.something.even when accessing a lot on it. Esecially beneficial in cases where Marshalling occors, for instance Excel automation ;-)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only