Re:Strong Types and Their Impact on Testing
by mikeash on Tuesday November 18, 2014 @02:26PM
(#8625770)
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?
[ Parent
| on HN ]
Re:Strong Types and Their Impact on Testing
by masklinn on Tuesday November 18, 2014 @02:59PM
(#8625961)
> 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.
Re:Strong Types and Their Impact on Testing
by mikeash on Tuesday November 18, 2014 @03:12PM
(#8626036)
When 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.
Re:Strong Types and Their Impact on Testing
by masklinn on Tuesday November 18, 2014 @03:35PM
(#8626168)
> 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.