Hallo Michael,

> But IMHO it is better to avoid the "with" keyword altogether and use a 
> pointer

Says the C programmer and creates the next buffer overflow failure.

You _do_ know that pointer errors make for most of the scurity problems of
software overall, relegating any other errors to distant follow-up places?

> pointer (in fact in Object Pascal it's possible to hide the fact that it 
> is a pointer, by simply using the same "." notation instead of "^".)

No, this is _not_ true in general. This is a _special_ handling feature of
the compiler to _hide_ the fact that some language objects are implemented
using pointers, mostly "objects" (class type variables), dynamic arrays and
strings. And there's much more to the compiler's knowledge about these
objects, as it has to silently introduce dereferencing operations in many
places to keep the illusion intact that these are "normal" variables.

And, you _cannot_ use this notation yourself for your self-declared pointer
variables. It only works where so designed.

-- 
-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
-----------------------------------------------------------
Mit freundlichen Grüßen, S. Schicktanz
-----------------------------------------------------------



------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to