Difference between revisions of "Talk:LSL Style Guide"

From Second Life Wiki
Jump to navigation Jump to search
Line 3: Line 3:
: I agree that mandating event order would be a pain in the ass.
: I agree that mandating event order would be a pain in the ass.
: I personally put events in the order they're first used throughout the process of a script's life cycle.
: I personally put events in the order they're first used throughout the process of a script's life cycle.
: If a Resident is learning to script from a [[:Category:LSL Mentor|mentor]] or [[:Category:LSL Teacher|teacher]], they're likely to be using snippets of code they're sent in-world. For them to see a different structure in LSL Library code would be confusing
: If a Resident is learning to script from a [[:Category:LSL Mentors|mentor]] or [[:Category:LSL Teachers|teacher]], they're likely to be using snippets of code they're sent in-world. For them to see a different structure in LSL Library code would be confusing
:[[User:SignpostMarv Martin|SignpostMarv Martin]] 05:44, 15 February 2007 (PST)
:[[User:SignpostMarv Martin|SignpostMarv Martin]] 05:44, 15 February 2007 (PST)

Revision as of 06:44, 15 February 2007

Script Structure

Mandating event order seems a little retentive to me. I don't think any scripter who is going to post code onto the wiki is going to be keen on rewriting their code to fit the pattern. Being flexible to other scripters styles is a key to success (especially with regards to collaborative projects). They should be grouped in a fashion that makes sense to the script and scripter. Seeing as this section is going to be a hot topic, maybe it shouldn't be included or make it very short? Strife Onizuka 22:29, 14 February 2007 (PST)

I agree that mandating event order would be a pain in the ass.
I personally put events in the order they're first used throughout the process of a script's life cycle.
If a Resident is learning to script from a mentor or teacher, they're likely to be using snippets of code they're sent in-world. For them to see a different structure in LSL Library code would be confusing
SignpostMarv Martin 05:44, 15 February 2007 (PST)