"Serge D. Mechveliani" <mech...@botik.ru> writes:

| Another note on the Spad language:
| for a record 
|                         Foo(coef: Integer, exp: Integer, root: Integer),
| its setting syntax by   [1, 3, 2]  :: Foo
| is a bug farm.
| Is not it?
| The syntax like         [coef := 1, exp := 3, root := 2]

the suggested syntax already has a valid meaning: it sets three
variables and return a List Integer.  It does not look like a better
alternative to the current syntax.

| 
| (replace `:=' with something appropriate)
| is much more safe. And here the named fieds can be transposed, the 
| programmer will not need to remember the order of, say, 6 fields.  
| 
| Regards, 
| 
| ------
| Sergei
| mech...@botik.ru

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
open-axiom-devel mailing list
open-axiom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-axiom-devel

Reply via email to