|
|
|
|
|
by kbenson
2839 days ago
|
|
> The world has generally considered weak typing a very bad idea. Now that is the type of thing that screams for supporting evidence. > Type coercion has too many edge cases and unintuitive/unexpected combinations. That depends on the implementation. I would say Perl handles this problem neatly by making the coercion done entirely based on the operator used, so it's always obvious. |
|
I think the direction of mainstream programming languages over the past 20 years is overwhelmingly clear about this.
There's only one language that I know of that's still in popular use and that likes weak typing.
> That depends on the implementation. I would say Perl handles
Yep that's the one.