Nicholas Clark <[EMAIL PROTECTED]> wrote: > > 2 things the above reminds me to watch out for > > int32 toInt32() > > don't assume anything about integer sizes (or any machine native type sizes > or precisions, or that floating point can (or can't) preserve integers) > > UnicodeString toString() # returns the scalar value as Unicode string > ASCIIString toString() # returns the scalar value as an ASCII string > > C++ implementors will have fun with names that assume one can overload on > return type. Sorry. I didn't mean those should be methods Scalars have! I was just trying to show the kind of documentation I'd like to see. I wasn't trying to produce said documentation. :) -- Bradley M. Kuhn - http://www.ebb.org/bkuhn
- Re: Meta-design Simon Cozens
- Re: Meta-design John Porter
- Perl6 on handhelds (was Re: Me... Bradley M. Kuhn
- Re: Perl6 on handhelds (was Re... Dan Sugalski
- Re: Perl6 on handhelds (was Re... Bradley M. Kuhn
- Re: Meta-design Simon Cozens
- Re: Meta-design Sam Tregar
- Re: Meta-design John Porter
- Re: Meta-design Nicholas Clark
- Call for apprentice: was Re: Meta-design Simon Cozens
- Re: Meta-design Bradley M. Kuhn
- Re: Meta-design Nicholas Clark
- Re: Meta-design Nathan Torkington
- Re: Meta-design Daniel Chetlin
- Re: Meta-design Dan Sugalski
- Re: Meta-design Bradley M. Kuhn
- Re: Meta-design Jarkko Hietaniemi
- Supporting architectures without n... Bradley M. Kuhn
- Re: Supporting architectures w... Jarkko Hietaniemi
- Re: Supporting architectures w... Bradley M. Kuhn
- Re: Supporting architectures w... Adam Turoff