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

Here are some reasons that Python removed them: http://stackoverflow.com/questions/1485841/behaviour-of-incr...

Edit: a nice write up by Chris Lattner: https://github.com/apple/swift-evolution/blob/master/proposa...



It's very unfortunate that attempting to use preincrement and postincrement operators in Python results not in a syntax error, but in code that silently does something very unexpected.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: