4 ms·
That's a C example, where it demonstrates my point perfectly. Python doesn't even have a printf function, where did you get the idea it was supposed to be Pytho
by mikeash 12y ago
That's a C example, where it demonstrates my point perfectly. Python doesn't even have a printf function, where did you get the idea it was supposed to be Python?
- dllthomas 12y agoIf someone is saying something bad about a language and it has something to do with types being weak, they must be saying it about Python?
- masklinn 12y ago> That's a C example, where it demonstrates my point perfectly. Yeah I kinda forgot about the result. > Python doesn't even have a printf function, where did you get the idea it was supposed to be Python? Nowhere? I never assumed your example was python, I was showing something irrelevant.
- mikeash 12y agoWhen you quoted my printf statement and followed it with "which does not demonstrate your point and is valid Python" that kind of implied you thought it a) doesn't demonstrate my point and b) is valid Python. If that's not what you mean, that was not at all evident.
- masklinn 12y ago> If that's not what you mean It's not, I pretty much fell into the issue you decry at the end of your comment: I considered the operation being allowed at all (by the compiler and the runtime) not being evidence of weak typing. Which I guess is technically correct, but is mostly completely irrelevant to the point you were making.