Re: Euphoria vs. C and OOP
- Posted by don cole <doncole at pacbell.net> Jan 05, 2007
- 743 views
jacques deschĂȘnes wrote: > > I agree with you Bill, Euphoria should stay euphoria, not becoming, > c++,java or whatever of the same. > > Your exemple is a good one, but the use of strings for commands would > slow down the execution a bit. Global constants could be defined instead for > commands. > > Improvement to euphoria should stick to simple guidelines: > - minimize typing effort > - reduce name conflict (improvement to namespaces) > - reduce scope of variables (related to namespaces) > > My yesterday suggestions stick to those guidelines and I agree with Jason > concerning an enum decleration because it would reduce typing in accessing > sequence elements by defining constants. > > regards, > Jacques DeschĂȘnes So you want to change:
sequence holiday holiday="christmas"
to
sequence holiday."christmas"
For the point of saving typing. Is this correct? Would holiday be changed later by holiday="easter" Or would another period be needed. holiday."easter"? Don Cole