Python ++ Operator?

Nobody nobody at nowhere.com
Sat Jul 16 09:23:49 EDT 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