4 Matching Annotations
- Feb 2021
-
sobolevn.me sobolevn.me
-
But why do we return 0? Why not 1? Why not None? And while None in most cases is as bad (or even worse) than the exceptions, turns out we should heavily rely on business logic and use-cases of this function.
-
-
www.infoworld.com www.infoworld.com
-
Consequently, you act irresponsibly when you adopt any programming practice simply because "that's the way you're supposed to do things."
-
My point is that you should not program blindly. You must understand the havoc a feature or idiom can wreak. In doing so, you're in a much better position to decide whether you should use that feature or idiom. Your choices should be both informed and pragmatic.
-
-
-
It makes me happy to see people actually think about things and not just accept a shitty API.
Tags
- "makes me happy when ..."
- describe the ideal hypothetical solution
- intentional/well-considered decisions
- actually consider / think about how it _should_ (ideally) be
- can we do even better?
- doing something without knowing why/how it works
- less than ideal / not optimal
- don't settle for/accept something that's not as good as it can be
Annotators
URL
-