Re: Python has Traps; Does Euphoria have Programming Traps?

new topic     » goto parent     » topic index » view thread      » older message » newer message

&= instead of append  
can 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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu