Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

What to learn?

VooDoo Bamboo
www.voodoodesignsllc.com
Join date: 4 Oct 2006
Posts: 911
02-24-2007 09:13
I am giving it my best try to learn scripting in SL. Can anyone tell me what language I should really start to learn... C++ or JAVA? I am not sure which one I should look at more. To me, the language in here looks more live JAVA. Would that be correct?

Thanks!
Bree Giffen
♥♣♦♠ Furrtune Hunter ♠♦♣♥
Join date: 22 Jun 2006
Posts: 2,715
02-24-2007 09:39
Wouldn't it be LSL? Unless you plan on using your programming skills elsewhere (which would be nice) you can try just learning LSL from the various tutorials and the lslwiki site.
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
02-24-2007 13:50
The scripting language in SL is LSL. It is somewhat similar to C, but that is only useful if you already know C.

As Bree says, if you want to script here, focus on learning LSL.

By the way, a good learning tool is to find simple scripts and *read* them.
VooDoo Bamboo
www.voodoodesignsllc.com
Join date: 4 Oct 2006
Posts: 911
02-24-2007 17:57
Thanks for the info. I hope that some time soon they will release a type of cook book so to speak like they have for Visual Basic and such. Would be a really nice tool to have.
Ylikone Obscure
Amatuer Troll
Join date: 24 Jan 2007
Posts: 335
02-24-2007 19:56
I am finding the concepts and methods of doing scripting with LSL are very different from C or Java, even though the syntax might look similar. The "objects" in LSL communicate with each other using channels (like CB radios), they "listen" within virtual meter distances, storage is very volatile and easy to lose stuff unless you are saving to an outside web server/database.

I know a bit of C and Java, and am a PHP/Perl programmer in real life... but I don't believe that learning those other languages will necessarily help you with LSL. Just learn LSL if that's what you want to use.
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
02-25-2007 01:52
LSL is unique to SL. It borrows heavily in basic syntax from C/C++, but its not worth learning either of them to program in LSL unless you are going to go on to be a RL programmer in the future.

Your best bet would be a book/course on programming concepts, structured design and problem analysis. Couple that with an LSL tutorial or some in world classes and you should be well on your way. Or just go pull the legs of a few working scripts and watch them limp around until you work out how to put them back together.

I would suggest that you get Scite-Ez or another programmers editor that can cope with the lsl syntax, make it much easier to work with. Also lslint is invaluable for catching gross mistakes.

The greatest leraning resources are right here on the forums and in the various wikki's.