Re: 1 pass?
- Posted by "BABOR, JIRI" <J.Babor at GNS.CRI.NZ> Aug 04, 1998
- 608 views
Robert Craig wrote: >I didn't feel that making mutual recursion easier to code >was important enough to justify destroying the >"define it before you use it" property of Euphoria. >This property helps readability and maintainability. >It's not there just because Euphoria works in one-pass. Rob, I realize, you feel quite strongly about this "define it before you use it" thing, you mentioned it already several times. But I urge you to think about it again, and I hope you will eventually see it has absolutely nothing to do with readability or maintainability of the code. In my view, to put it quite bluntly, it is simply a convenience for the compiler designer and an unnecessary restriction imposed on the user. In the end it comes down to one's favourite programming style, 'top-to-bottom', or 'bottom-up', or whatever the labels are. A lot of programmers, including myself, find it much more natural to start with the broad picture at the top and gradually refine the texture, fill in the gaps. And with the speed of modern compilers, including yours, I do not care where it flags an unresolved reference, whether it is at beginning, in the middle, or at the very end of the program. Jiri