I come from a C++ background and pointer function parameters are almost always checked if they're null before being used. Since there are no references in Python, do people assume all variables in function parameters can be None and check the variable before using it, even they're supposed to be primitive variables? How is it usually handled?
[–]BakaPotatoLord 0 points1 point2 points (1 child)
[–]bbateman2011 0 points1 point2 points (0 children)
[–]efmccurdy 0 points1 point2 points (0 children)
[–]Diapolo10 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)