Apr-30-2019, 02:11 AM
Yep, that function name is very poor :/ that is a good catch.
I really meant to give it another name like def make_decision(number), because what I was wondering was that really good programmers in python never use else statement. However, the creators of Golang did recommend always checking/log for errors, which else statements help you do.
I really meant to give it another name like def make_decision(number), because what I was wondering was that really good programmers in python never use else statement. However, the creators of Golang did recommend always checking/log for errors, which else statements help you do.