[sldev] Prim metadata formats was Re: LSL initiated Prim metadata...

Argent Stonecutter secret.argent at gmail.com
Thu Mar 1 09:42:45 PST 2007


On Feb 28, 2007, at 11:23 AM, Jason Giglio wrote:
> LSL can't enforce type checking on those types though, so I don't  
> see that it gains much of anything.

Well, it gains you two things:

1. During development, you get a run-time error from the script and  
the bogus tag doesn't get set if the format and type don't match.

2. In production, you don't have to rewrite your client code to use  
standard messages.

Actually, it wouldn't be hard to do some compile time type checking  
as well. The LSL compiler is really pretty straightforward, even if  
it's got some scanner bugs and the way it uses C++ classes is  
straight from heck.


More information about the SLDev mailing list