3 ms·
I would like to add: biggest things about code samples: 1) Use every parameter / return in the example. There is no good reason to put (_, speed) = myFunc() bec
by TheJoeMan 4y ago
I would like to add: biggest things about code samples:
1) Use every parameter / return in the example. There is no good reason to put
(_, speed) = myFunc() because what is the first returned value?
2) Don't name the input parameters the exact same as the variables, even though it reads nicer
Class Pet:
func pet(pet)
pet=Dog
Pet.pet(pet) <----- whyyyyyyyyy