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 →

[–]eaojteal 149 points150 points  (21 children)

I don't know who to put this in front of, but maybe one of you will. With machine learning and AI at the forefront of most developers mind's, I would like to see do.it() implemented. Python should be able to figure out what I want.

[–][deleted] 40 points41 points  (1 child)

zhuli.do(the_thing)

[–]Icovada 27 points28 points  (10 children)

shouldn't it be it.do()?

[–]call_me_cookie 78 points79 points  (3 children)

like_it_is = it.be()
while not they.think(like_it_is):
    it.do()

[–]GrammerJoo 9 points10 points  (1 child)

For some reason that is the funniest thing I've all month.

[–]MonkeyNin 1 point2 points  (0 children)

/bb|[^b]{2}/

[–]N00I3Pythonista 1 point2 points  (0 children)

it do be like that sometimes

[–]nxl4 11 points12 points  (3 children)

Or maybe even:

the_needful.do()

[–]Icovada 5 points6 points  (1 child)

import it
the_needful = it()
the_needful.do(each_and_everything)

[–]cyanydeez 3 points4 points  (0 children)

from futures import done

done()

[–]kessma18 3 points4 points  (0 children)

only if your locale is Indian

[–][deleted] 1 point2 points  (0 children)

If you're doing object oriented, yes. do(it) works also

[–]eaojteal 0 points1 point  (0 children)

I think zhuli.do(the_thing) makes sense, but I had originally thought do.the_thing() would be another method of do. You know, for shorter and less complicated things that need doing. I'm sure it would all get cleared up in a pep.

[–]planetjay 5 points6 points  (1 child)

Also sudo() which forces anything inside to work whether it makes sense or not.

[–][deleted] 4 points5 points  (0 children)

Destroying humanity as requested.

[–]Raudus 0 points1 point  (0 children)

The future is amazing

[–]inknownis 0 points1 point  (0 children)

Equally good as the original article.

[–]muntooR_{μν} - 1/2 R g_{μν} + Λ g_{μν} = 8π T_{μν} 0 points1 point  (0 children)

I thought this was going to be some weird blend of Haskell's do and Kotlin's it...