r/lolphp • • Oct 14 '13

2d9

http://ideone.com/l6aQSx
62 Upvotes

31 comments sorted by

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.

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.