Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
somebodythere
on Feb 7, 2020
|
parent
|
context
|
favorite
| on:
No engineer has ever sued because of constructive ...
Real programmers would write bulletsDodged++;
reificator
on Feb 7, 2020
|
next
[–]
https://doc.rust-lang.org/1.2.0/complement-design-faq.html#w...
?
bagacrap
on Feb 7, 2020
|
prev
|
next
[–]
our style guide dictates ++bulletsDodged;
ErikAugust
on Feb 7, 2020
|
parent
|
next
[–]
Well, bulletsDodged++ and ++bulletsDodged mean different things in most languages. It ain't just a matter of style. :)
fhars
on Feb 7, 2020
|
root
|
parent
|
next
[–]
Like C++ gives you the current value of C and then increments it for some future use.
reificator
on Feb 7, 2020
|
root
|
parent
|
prev
|
next
[–]
But preferring one over the other is.
philpem
on Feb 7, 2020
|
prev
[–]
Thing is, that's not valid Python - but the OP's version is ;-)
gdy
on Feb 7, 2020
|
parent
[–]
Corollary: Python programmers are not real.
philpem
on Feb 11, 2020
|
root
|
parent
[–]
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: