Pass by Reference
- Posted by DerekParnell (admin) Sep 11, 2009
- 2491 views
Forked from Re: switch design
Critic said...
DerekParnell said...
Curious! Ok, let's take you up on your raison d'etre. You participate in the Euphoria forum because you want the help make Euphoria less of a ""sucking programming language". Fine and good ...
Tell us one thing that you feel must change or improve in Euphoria right now. Something that really can't wait any longer. And tell us why it needs to change.
See our discussion about stacks. Some kind of reference semantics in addition to copying semantics. Because the current workaround of using a global sequence variable + index is everywhere in Eu code. It needs to change because:
- It's awfully inconvenient.
- It encourages memory leaks.
- Copy semantics easily introduces O(n) complexity where O(1) would suffice.
Lack of references is the biggest issue with Euphoria right now, it really can't wait any longer.