Re: The Eighth Passenger, Stoned goto, etc
- Posted by Shian_Lee Mar 18, 2015
- 1667 views
In general I agree. In my head (but no immediate plans to start work on it) there is now a clear, simple, elegant design for try/catch that should not trouble anyone who does not need it, whereas the discussion on string_eval() proved completely fruitless.
Pete
Thank you.
Just please remember Pete, if you throw an exception it might fly up above and reach the stratosphere, and if you throw it strong it might even reach the outer space where nobody can reach it.
i.e. throwing an exception is risky and backward.
Exception is not an exception until we define it as an exception.
About eval - soon or later it will be used incorrectly by someone careless:
the day after, some sadist writer from important web site will write in his/her front page:
DON'T USE EUPHORIA!
Yesterday night... blah blah blah.
That's what keeps people breathing. Sadism. (did I mention it before?...)
There are many ways to implement a macro language, or a limited set of commands which are more sane then eval, depends on what is the task. In most cases, I believe, it would be better for the programmer to create his/her own eval() specific routine - or in extreme cases: use the Euphoria interpreter.