Re: A question about certain language features
- Posted by Igor Kachan <kinz at peterlink.ru> Feb 13, 2002
- 598 views
Dear EU users, I can continue some thoughts about really useful language features. ---------- > Igor Kachan <kinz at peterlink.ru> > > Irv Mullins <irvm at ellijay.com> > > > Inside a subroutine, in EUPHORIA, only PRIVATE variables > > > may be declared. These points are in the reference manual. > > True, but what is wrong with having private constants? > > It's a convenience, and produces clearer code. No one has > > provided a reason why it is either a good or a bad idea. > > No doubt it was just an accident that it turned out that way. > > This question is answered by Robert just now, about > "good and bad". > > But we can make the concrete analisys of the frequencies > of useing some programming language fetures to decide > is some thing very useful or it is just a very rare thing. > If thing is rare, then there is no any reason to > replicate it in the new language. > > Why not such analisys? > > If we have the open sources of some program texts in C, > C++, Modula, Ada, Forth ... OK, it seems to be, no ? But we have now Rob's source code, which allows Rob to build interpretets and translators and get Euphoria programming language. Euphoria can do all you want, if you really want. Let us ask Rob to find the time for such the analisys of his complete source code and telling us the results. Then we can make some conclusions about C language as a system programming language. I do not think Rob uses full set of ANSI C, so we'll know the info about his working subset. This one may be one of the best subsets of C language, I think. After updating Russian docs and my contributions for official Eu 2.3, I'll be ready to make such the analisys on the publicly-available part of the Eu source code (in 5..7 days). (If Rob has no any protests). Regards, Igor Kachan kinz at peterlink.ru