Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Real programmers would write bulletsDodged++;



our style guide dictates ++bulletsDodged;


Well, bulletsDodged++ and ++bulletsDodged mean different things in most languages. It ain't just a matter of style. :)


Like C++ gives you the current value of C and then increments it for some future use.


But preferring one over the other is.


Thing is, that's not valid Python - but the OP's version is ;-)


Corollary: Python programmers are not real.


Descartes: I hiss therefore I am... ;)




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: