Re: Python has Traps; Does Euphoria have Programming Traps?
- Posted by ne1uno Aug 18, 2013
- 2020 views
&= instead of appendcan get you into trouble. especially inside a loop.
there have been many discussions about this. could be some automatic optimization is on the roadmap? already implemented?
Tom, great angle for deprogramming python programmers. it was these kinds of counter intuitive traps that eventually caused me to drop python and forget most of what I once knew. and worse, the way that community creates work arounds and idioms which insure many of these gotchas remain in the language and culture. as if they all were intentional and supported by some advanced logic.
it would be fun to list another dozen or two of them but I will spare OE the bandwidth in case some rouge python programmer or google employee decides to argue the point.