Calculate your site FeedRank Today
FeedRank, a newly developed algorithm for ranking RSS feeds only on RSSMicro
Click here to learn more
 5/10 Good --- forums.thedailywtf.com http://forums.thedailywtf.com/forums/rss.aspx?ForumID=18&Mode=0
| Because more things make us ask WTF than just code ... |
Saturday, May 17, 2008 --- 70 days ago http://forums.thedailywtf.com/forums/thread/165240.aspx
| You may not be aware of Second Life's scripting language the "Linden Scripting Language"
There is much to explore so here are a few bullet points found in the wiki http://lslwiki.net/lslwiki/
Keep in mind that since there appears to be no official documentation all information is provided by volunteers (WTF #1)
in no particular order
* 10 byte length ints
http://www.lslwiki.net/lslwiki/wakka.php?wakka=MemoryUsage
* no bool short circuiting
http://www.lslwiki.net/lslwiki/wakka.php?wakka=boolean
* no built in list comparison function
["a"] == ["b"] return true, since it only checks for length
http://www.lslwiki.net/lslwiki/wakka.php?wakka=annoyances
* one function per type to retrieve an element from a list (there is no generic one)
http://www.lslwiki.net/lslwiki/wakka.php?wakka=list
* the type system has issues, for instance, the list is used very often, but is very badly implemented
* lack of structs or other constructs
* function parameters are always passed by value (even lists)
* the best way to append a element to a list is:
myList = (myList=[) + myList + ["new_item"];
because (quoting from wiki)
- Don't ask me why but I can save 3-4KB of memory with adding 90 elements. - PsykePhaeton
- Is this broken as of Aug-21-2007? It doesn't appear to work - VagnerSousaBR
- "This voodoo magic seems to work fine. Just pay attention to the "new_i ... |
|
|
Recent Posts
|
|
|
Facebook
Del.icio.us
Digg
StumbleUpon
Reddit
Google