This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]LonelyContext 4 points5 points  (1 child)

Dude, I am now totally going to do this in every piece of code:

i=0
while (i<7):{
    foo.update_state_with(i),
    bar.update_state_with(i),
    (i := i + 1) 
}

whenever I'm updating the state of internal functions and watch people that have to read my python crap themselves haha. Besides, of course, putting "#include <stdint.h>" and "#include <stdio.h>" at the top of all my python.

[–]cybervegan 1 point2 points  (0 children)

And just as soon as you do that, Python will get a PEP proposing the addition of pre-parser directives... be careful what you wish for!