ASC/DESC enum is also good and probably what u should do if u aren't in py"just pass whatever the fuck strings u want"thon but i think coding asc default into the param name itself when the semantic concept actually at hand is "order" not "is this ascending" is bad design
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
should be pretty obvious this tweet is about python which had 0 support for enums until recently and they’re still a pain to use to strings are the standard, and also i already posted a followup with enums 5 min before you replied but go off
End of conversation
New conversation -
-
-
No nothing is better than JS with callback -1, 1, 0 that makes perfect sense how could you ever get it wrong and why would another language deviate from this perfection
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Just faster my guess
-
ascending=True # ascending sort ascending=False # bongo sort
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.