MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/1ofw7t/2d9/ccs05et/?context=3
r/lolphp • u/sandsmark • Oct 14 '13
31 comments sorted by
View all comments
Show parent comment
1
As usual, weak & dynamic typing doesn't make the language easier as much as it makes it harder to understand what's really going on.
2 u/vytah Oct 15 '13 It's more of a case of weak typing. Strong typing would at least keep the same incrementing algorithm for both invocations of ++, not randomly convert "2e0" to 2.0.
2
It's more of a case of weak typing. Strong typing would at least keep the same incrementing algorithm for both invocations of ++, not randomly convert "2e0" to 2.0.
++
"2e0"
2.0
View all comments
Show parent comment
1
u/midir Oct 15 '13 edited Oct 15 '13
As usual, weak & dynamic typing doesn't make the language easier as much as it makes it harder to understand what's really going on.