17 Mar
2019
17 Mar
'19
5:15 a.m.
Richard Damon wrote:
RĂ©mi, I believe, is assuming in their example that by defining the field of mathematics being used, there is at least an implicit definition (if not actually explicit as such a statement would typically be preceded by definitions) definition of the types of the variables.
In Python, we have such implicit definitions in the form of comments, and inferences from the way things are used.
when looking at a piece of code you don't necessarily know the types of the objects being used
And if you look at an equation from a mathematics text without the context in which it appears, you won't always know what it means either. -- Greg