Re: strong typing and error handling
- Posted by jbrown105 at speedymail.org Jun 28, 2003
- 368 views
On Fri, Jun 27, 2003 at 09:03:04AM -0700, Mike Nelson wrote: > <snip> > > For the OpenEU team, I would suggest two keywords that would be allowable > only before a type specifier in a parameter list: by_ref and by_val (by_val > for documentation: pass by value would and should be the default -- VB > defaulting to ByRef is really, really bad). > > -- Mike Nelson > I'm not sure where things stand on the pass-by-reference front ... iirc there was talk about it but i don't know what the result is. As for types specificly, you will be able to create sequences (and arrays) of a specific type (a sequence of integers, a 30 length array of user_type) and use "bag" to get a mix of types. These will internally be checked per element instead of the entire thing (as you'd have to do currently in RDSEu). Its not hard to imagine this being extended to user-defined types, I suppose. jbrown -- /"\ ASCII ribbon | http://www.geocities.com/jbrown1050/ \ / campain against | Linux User:190064 X HTML in e-mail and | Linux Machine:84163 /*\ news, and unneeded MIME | http://verify.stanford.edu/evote.html