1. The Eighth Passenger, Stoned goto, etc
- Posted by Shian_Lee Mar 18, 2015
- 1743 views
I guess, in general, that before implementing a "must have" feature, such as the The Eighth Passenger (eval), or Stoned goto (Try/Catch/Fall), or Time is money (Pass-By-Reference), or the III Millennium (Object Oriented Programming), or any other "must have", it worth considering the following:
- Cost Vs Benefit. (i.e. time-effort-money-bugs-complications-broken_marriage Versus Is it that useful?).
- Simple Alternatives. (i.e. who said that recursive-function is better then an efficient-simple-easy-to-debug while loop?, etc.)
- How much need for it after all...? (i.e. so much work - but how many people and how many times will use it?)
- The overall affect on the Euphoria language itself. (i.e. some features are almost offering a new language-dialect... a totally new concept... or simply throws to the garbage bin decades of hard work and effort to keep the language consistent, simple, fast and efficient).
- Who, yes: Who, is going to deal with the extra bugs, documentation, tickets, cross-platform new release? (i.e. nobody likes to do these things, so: don't start something that nobody will finish. Not finished is equal to Not useful).
- Is this "must have" feature is a "must have" feature? (no comment). (yes comment: the fact that nobody on this forum resist to this "must have" feature, does not mean that so many people actually need it or want it or will ever use it. Most users might need absolutely other "features", such as bug-fixes, more examples in documentation, tutorials or improving an already existing routines).
There is more...
One thing which is different between commercial / open project is Strategy and Obligation to it.
But one thing is obvious, both commercial and open project will benefit from being realistic and not greedy.
P.S. 1024/128/64-Bit support, UTF-8, and such, are more like Cross-Platform support, so these are obvious and I don't mention it.
2. Re: The Eighth Passenger, Stoned goto, etc
- Posted by Ekhnat0n Mar 18, 2015
- 1739 views
I fully agree with you Shian Lee, because my best programs use no more than:
Variable & Constant-declarations.
For...To..(Step)..Endfor,
If...(Elsif)....Endif,
Do..............While,
Loop............Until,
Case............Endcase,
Open, Put & Get-statements
(or Open, Read & Write).
And for disk- and file-access ofc BOF/EOF/Exist
(I just give the structural names, NOT the euphoria-correct commands/keywords)
It is in fact kind of Assembly-progging in Eu
AND by it's nature lightning fast.
3. Re: The Eighth Passenger, Stoned goto, etc
- Posted by petelomax Mar 18, 2015
- 1703 views
such as the The Eighth Passenger (eval), or Stoned goto (Try/Catch/Fall)
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
4. Re: The Eighth Passenger, Stoned goto, etc
- Posted by Shian_Lee Mar 18, 2015
- 1708 views
I fully agree with you Shian Lee, because my best programs use no more than:
Variable & Constant-declarations.
For...To..(Step)..Endfor,
If...(Elsif)....Endif,
Do..............While,
Loop............Until,
Case............Endcase,
Open, Put & Get-statements
(or Open, Read & Write).
And for disk- and file-access ofc BOF/EOF/Exist
I fully agree with you.
5. Re: The Eighth Passenger, Stoned goto, etc
- Posted by Shian_Lee Mar 18, 2015
- 1668 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.
6. Re: The Eighth Passenger, Stoned goto, etc
- Posted by Ekhnat0n Mar 18, 2015
- 1669 views
I fully agree with you Shian Lee, because my best programs use no more than:
Variables, For-loop, If-loop
Do-while, Loop-until
Case-statements
Open, Put & Get-statements
file-access ofc BOF/EOF/Exist
I fully agree with you.
Seems to me you are just like some of us a real "old hand" at progging, Shian Lee
Care to email personally on where Euphoria should go
and/or join me in the effort to make it into what it could and should be?
Sleek, concise, versatile and fast (with its own debugger and compiler)
7. Re: The Eighth Passenger, Stoned goto, etc
- Posted by petelomax Mar 18, 2015
- 1641 views
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.
Fear not - that design in my head includes "if there is no catch, do exactly what it always used to do, that is display a message and create an ex.err".
Pete
8. Re: The Eighth Passenger, Stoned goto, etc
- Posted by Shian_Lee Mar 19, 2015
- 1615 views
Fear not - that design in my head includes "if there is no catch, do exactly what it always used to do, that is display a message and create an ex.err".
Pete
Perfect!
I also don't see the need for 'finally' - 'catch' can deal with failures in a regular way. One less keyword.
9. Re: The Eighth Passenger, Stoned goto, etc
- Posted by Shian_Lee Mar 19, 2015
- 1640 views
...to make it into what it could and should be?
Sleek, concise, versatile and fast (with its own debugger and compiler)
All I can say is that - it's sad to see how all these talented people cannot truly cooperate, by defining a reasonable goals, and reasonable strategy, and reasonable duties.
I don't believe in anarchy (selfishness), or democracy (brutal-capitalism), or dictatorship (fake-god), or any other system.
Being reasonable and intuitive is enough.
But most people are too greedy and selfish to be reasonable and intuitive at the same time.
I believe that Open-Euphoria can reorganize the work and define more reasonable and stable development process, including refactoring/optimizing the current core and including stable/reasonable release cycle.
Like you, I wish that Euphoria will remain Euphoria. I hate to think that Euphoria will look like Python.
So I still have faith in Open Euphoria.
10. Re: The Eighth Passenger, Stoned goto, etc
- Posted by Ekhnat0n May 15, 2015
- 1526 views
So why not invite those willing to cooperate, without greed, for the good of OpenEu?
Anybody wanting to do so, sign your name under this post
and I will contact everybody with a small questionnair to find the spot he fits in this system
Then we really can join forces and propel our favourite ProgLan into the 3rd decade of this century
before it even has begun.