comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: structure access using strings for tag-names
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: structure access using strings for tag-names [message #43514 is a reply to message #43462] Mon, 18 April 2005 01:31 Go to previous messageGo to previous message
Thomas Pfaff is currently offline  Thomas Pfaff
Messages: 15
Registered: April 2005
Junior Member
> I would prefer a fast built-in hash type, and I would prefer to be
> able to use that type, in place of a normal struct, as the underlying
> basis of objects. Then I could extend class structure members at
> runtime, and do all manner of things which are convenient with a hash
> but inconvenient with a fixed, predefined structure.
>
> Maybe it's just the Perl hacker in me.
>
> JD
>

The python hacker in me violently agreed on the first part (A fast
builtin list-type would be the next thing on my wishlist :-)). However I
haven't seen any programming language that allows dynamic addition of
class members. Wouldn't that in parts violate the concepts of data
encapsulation and information hiding, if you could add and remove class
members at will? Then I would first like to have public class members.

Thomas
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: .compile vs .run
Next Topic: Re: tvimage, imcontour and ps dimensions

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:43:46 PDT 2025

Total time taken to generate the page: 0.00424 seconds