Remove the ++ and –- operators
github.com
Remove the ++ and –- operators
1–10 of 249 posts
Re: Remove the ++ and –- operators
#2Personal opinion, but I definitely miss '++' every time I'm doing '+=' in Python.
Re: Remove the ++ and –- operators
#3> Their expressive advantage is minimal - x++ is not much shorter than x += 1 Personal opinion, but I definitely miss '++' every time I'm doing '+=' in Python.
Re: Remove the ++ and –- operators
#4so few people understand its behaviour and it enables some really revolting and difficult to read things. i think a lot of people learned this in the 80s, 90s and 00s even... its not a new revelation.
the pre-increment/decrement though? i think having these is important. there are plenty of contexts away from numbers where they make sense (things can be ordered and not have a concept of addition)
Re: Remove the ++ and –- operators
#5I also contest "++" and "--" operators are seriously tripping up "beginners". In most programming books, it's taught a few chapters in...
Re: Remove the ++ and –- operators
#6Re: Remove the ++ and –- operators
#7Why not leave those operators for more "advanced" users? I also contest "++" and "--" operators are seriously tripping up "beginners". In most programming books, it's taught a few chapters in...
Re: Remove the ++ and –- operators
#8Re: Remove the ++ and –- operators
#9Re: Remove the ++ and –- operators
#10> Their expressive advantage is minimal - x++ is not much shorter than x += 1 Personal opinion, but I definitely miss '++' every time I'm doing '+=' in Python.