cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antti Koivunen <anryo...@users.sourceforge.net>
Subject Re: [Schecoon] flow control layer
Date Fri, 01 Mar 2002 17:19:37 GMT
Stefano Mazzocchi wrote:
> Ovidiu Predescu wrote:
<skip/>
>>>>Built-in datatypes are numbers, arrays, dictionaries and function
>>>>objects. There is a special type 'void', that has a single possible
>>>>value named 'void'.
>>>>
>>>What about 'strings', 'dates' and the like?
>>>
>>Oh, yes, those too ;-) I forgot about them.
>>
> 
> ok, I would add 'currency', since web-oriented flow languages will sure
> have to deal with strings, dates and money. And having them explicitly
> declared in the language might allow us to obtain 'easy' transparent
> handling (say, automatic money conversion)
> 
> Are there any other 'first class concepts' that you guys might want to
> have in a flow language? IDs (as for credit-card numbers) might be
> another one, even if probably a concept too detailed... ok, your turn
> people :)

I would think carefully before adding datatypes to any weakly typed 
language. As the flow language allows easy integration with Java, I'd 
recommend using standard Java classes (e.g. 'java.util.Date' and 
'java.util.Currency'), because they are the ones your custom classes are 
likely to use.

(: A ;)




---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message