- usually constants are capitalized, but math.pi and math.e aren't
- the Decimal class has methods like is_nan(), and generally puts underscores in the method names, while the math package provides methods like isnan()
- even within the same package, you have cases like itertools.groupby() and itertools.combinations_with_replacement()
Not a deal breaker, it's just a drag when you only work in a language once every few months, and you constantly have to look at the docs to know whether something is alllowercase, ALLCAPS, camelCased, with_underscores, etc.
- usually constants are capitalized, but math.pi and math.e aren't
- the Decimal class has methods like is_nan(), and generally puts underscores in the method names, while the math package provides methods like isnan()
- even within the same package, you have cases like itertools.groupby() and itertools.combinations_with_replacement()
Not a deal breaker, it's just a drag when you only work in a language once every few months, and you constantly have to look at the docs to know whether something is alllowercase, ALLCAPS, camelCased, with_underscores, etc.