Alan Gauld wrote:
> "Dhruva Kulkarni" <[EMAIL PROTECTED]> wrote
>> Also, i couldn't find the keywords for data encapsulation
>> ( private protected in c++ )..
>
> More seriously, much of the data protection used in C++ is
> due to the contraints of using a static, strictly typed data model.
> Once
"Dhruva Kulkarni" <[EMAIL PROTECTED]> wrote
> Ok, i get the idea about the referencing, but i got some (;-))
> doubts :
Many C/C++ programs find the transition a bit scary at first
because they are giving up control of the low level details.
But the truth is that in higher level languages like
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Well, philosophically every object "name" is a pointer to a PyObject on
C level. The only difference is, that you cannot do anything but assign
these pointers (no pointer arithmetic) and memory is managed automatically.
If you want to know what happen
Dhruva Kulkarni wrote:
> Hi,
> I am a C guy wanting to switch to Python for some
> application-type-tasks that might be done in Python much quicker and
> sooner and smaller than in C...I have fiddled around with Python and
> looked through the tutorial, but i'm a bit lost when there are no
Hi,
I am a C guy wanting to switch to Python for some application-type-tasks
that might be done in Python much quicker and sooner and smaller than in C...I
have fiddled around with Python and looked through the tutorial, but i'm a bit
lost when there are no pointers ( pun intended! ). I coul