Python ++ Operator?

Nobody nobody at nowhere.com
Sat Jul 16 15:23:49 CEST 2011


On Fri, 15 Jul 2011 23:09:02 +0200, Stefan Behnel wrote:

>> or the more direct pointer management:
>>
>> *ptr++=value;
> 
> More direct, sure. But readable? Well, only when you know what this
> specific pattern does. If you have to think about it, it may end up
> hurting your eyes before you figure it out.

If you have to think about it, you shouldn't even be using C.




More information about the Python-list mailing list