Do I always have to write "self." ?

ben at co.and.co ben at co.and.co
Sun Apr 30 17:27:35 EDT 2000


Samuel A. Falvo II <kc5tja at garnet.armored.net> wrote:
 
> I always use Hungarian notation when it makes sense to.  For example, if I
> have a function in C that accepts a string and an explicit length argument,
> I would write something like this:
> 
> 	uint32 WriteData( void *buffer, char *pString, uint32 cbString )
> 
> This tells me that WriteData() takes as parameters a buffer, a pointer to a
> string, and the number of bytes in the said string.  I fail to see how this
> is somehow hard to read.  :)

OK, let's bite :-)

    int WriteData(void *buffer, char *str, int len)

I fail to see how this is somehow hard to read :-)

Greetings,
-- 
ben . de . rydt at pandora . be ------------------ your comments
http://users.pandora.be/bdr/ ------- inl. IPv6, Linux en Pandora




More information about the Python-list mailing list