Re: Python has Traps; Does Euphoria have Programming Traps?
- Posted by _tom (admin) Aug 21, 2013
- 1774 views
My idea of "traps" is based on the consequences of design choices made by language designers.
In an OOP language (Python being just one example) a variable references a value; in Euphoria a variable is the value. Because an OOP language uses references this design choice produces: alias surprises, copying surprises, self-reference surprises, and special techniques for reading and saving objects. So by design an OOP language has to be harder to learn. I am not commenting on which language is "better."
Still assimilating some of the other ideas.
Thanks for the responses,
TOM