Re: Eu Improvements consolidation
- Posted by Karl Bochert <kbochert at copper.net> Jan 05, 2007
- 634 views
c.k.lester wrote: > > > Karl Bochert wrote: > > > One of my biggest problems with Eu comes when I look at someone's code and > > > see something like > > > }}} <eucode> > > > if atom( base[2][4]) then > > > ... > > > </eucode> {{{ > > This, of course, is not a problem with the language, but with the individual > programmer. Karl, how would you deal with users who don't follow your > particular brand of code formatting. Would you dump Euphoria because somebody > doesn't use SS? For instance, even despite SS being available to Euphoria > users, you STILL might have code that looks like this: > > }}} <eucode> > if atom( base[2][4] ) then > ... > end if > }}} <eucode> Obviously, no matter the language some will write 'good code' and some will write 'bad code'. That does not change the fact that language features tilt the balance one way or another (whatever your definition of 'good code') The unstructured sequence has, in varying proportions, some faults. . Indexing with numbers is opaque . Indexing with ids pollutes the namespace . Untyped elements allow surprising type changes Like 'goto considered harmful', some things just promote bad habits. Why am I even going through this?? KtB