Kevin Ann
1 min readAug 31, 2019

--

Thanks for the response Roman!

Yeah, the case you provided is similar to using a Boolean implicitly to represent an enum or categorical value.

Yep, Python is strongly dynamically typed. I should have written and emphasized explicit static type checking, more relevant when perusing code like reading through function signatures especially and less about running the code. This would have been more precise and clear.

--

--

Kevin Ann
Kevin Ann

Written by Kevin Ann

AI/full-stack software engineer | trader/investor/entrepreneur | physics phd

No responses yet