+ 1

why Python and lua have not ++ and --?

I thought Python and lua are Writed by C language,and most depended on macro in c. eg: #define max(A,B) ((A)>(B)?(A):(B)) x= max(2*y,z/1.73); after preprocess,it becomes x=((2*y)>(z/1.73)?(2*y):(z/1.73); if z++ replace z,z will ++ twice can anyone tell me the real reason why Python no ++ and --?

16th Jul 2018, 10:55 AM
Bluebear
Bluebear - avatar
1 Answer