|
|
|
|
|
by adwn
1965 days ago
|
|
> A typical example, in dynamic programming languages, is to treat numbers as strings and vice-versa That sounds great until it bites you in the ass really hard. In general, you want to catch unintended behavior as early as possible. |
|
PHP converting between strings and numbers is usually a mistake, but the one data structure doing everything (array and dict) is nice enough.