The "get" prefix is valid and useful in plenty of cases.
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Yeah. I'm also personally fond of thing = get_thing()
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
It's Python so the closer code resembles normal language, the better.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Wow !! Mr.chollet I was not aware of that.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I have a rule. Only one letter function names. Saves tons of typing. The 27th function always replaces the first function though.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
In the context of “getters” and “setters”, should “get” ever modify state?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.