Re:Why Python is Slow: Looking Under the Hood
by rectangletangle on Friday May 09, 2014 @11:13PM
(#7724352)
I'm definitely a fan of Python's strategy. It's much better at detecting bugs early and often. That, and there's a distinction in Python between identity and equality, with the `is` and `==` operators respectively.
[ Parent
| on HN ]
Re:Why Python is Slow: Looking Under the Hood
by thaumasiotes on Saturday May 10, 2014 @08:41AM
(#7725192)
Frankly, I think Perl has the best approach to this specific problem. We all want to do some string concatenation. We all want to render some non-string values as strings sometimes. So:
1 + 0 = 1
1 . 0 = 10
Just stop using + to concatenate strings.