[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Cfengine-develop] Re: Homework
From: |
Mark Burgess |
Subject: |
Re: [Cfengine-develop] Re: Homework |
Date: |
Tue, 4 Mar 2003 10:48:21 +0100 (MET) |
> My take on lists was something like:
>
> control:
> split = ( " " )
> myvals = Split(a b c)
> morevals = List( "var one", "var two", "var three" )
Yes, PHP does this well, using things like "list" and "split" to make things
explicit. This makes it easy for users to look up things in the manual -
because they can just search for the keyword. I like this.
>
> Same otherwise. The idea being a heavier use of functions to get the data
> type you were after, pushing the burden out of the parser, keeping it
> minimal.
Minimal is god!
We want to make the code as small as possible, so that it will fit on
mobile phones, running Linux :)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: address@hidden
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~