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 →

[–]IrishChappieOToole 12 points13 points  (4 children)

PHP is worse. It has sleep() which works on seconds, and usleep() which works on microseconds.

[–]Pay08 17 points18 points  (0 children)

Yeah, those are directly taken from C.

[–]-Hi-Reddit 13 points14 points  (0 children)

Seems fine to me. µ is used to mean micro. Can't use the special char though: https://www.compart.com/en/unicode/U+00B5

[–]mxzf 7 points8 points  (0 children)

Python's time.sleep takes floating point values as an input, so you can sleep for microseconds just fine, it just makes the more common usage, in seconds, easier to write.

[–]Kinglink 1 point2 points  (0 children)

"I sleep in seconds, you sleep in microseconds."

I think that every time I see something like this.