Re: Python has Traps; Does Euphoria have Programming Traps?
- Posted by andi49 Aug 19, 2013
- 1955 views
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.
This thread started because I found that every language is described as easy to learn. I want to make the claim that Euphoria is actually easy to learn.
(It would be interesting to see how a Python programmer describes "easy.")
If you have more traps (any language) I would like to see them.
TOM
Hi, I'am not a Python fanboy, but this thread is really not what everybody needs. Python is completly different to OpenEuphoria and all other procedural languages. There is no need to compare. Python does not even has Variables, nor it has Datatypes. It only has names for objects. Maybe you read this http://stackoverflow.com/questions/11007627/python-variable-declaration.
Imagine you only had one datatype in Euphoria, say the Object, than you really do not have to name it.
Then there is no scope trap, and no alias trap.
And this would explain that A="abc" and B=A points to the same data, this gives just 2 names for the same object
Python is not better or worse than OE is just plain differnt.
Maybe we just have a look at the Python C-Api, so someone can integrate Python into Euphoria....
Andreas