User talk:Terk Resident

From Second Life Wiki
Jump to navigation Jump to search

LSL style guide

We decide long ago we were not going to refight the wars our father's faught. Instead of brother against brother we have decided the wiki is big enough for all of us. You are more than welcome to preach the gospel on your own userpage. Seeing that you have an interest on formatting we can always use help in making sure LSL Portal contributions fit one of the accepted white spacing schemes. We appreciate all the work you put into improving the article, but you have changed the the flavor of the article. I will, if I have time tomorrow work on restoring the more neutral tone of the article while at the same time keeping as much of your sizable contribution intact. -- Strife (talk|contribs) 19:54, 6 September 2014 (PDT)

Not really looking to fight about anything here.
It's just that the point of the wiki is to help new users and aspiring scripters look for a reference point of information which accurately documents the language. It's not a place to discuss the personal preferences in scripting styles. I'm not some person out on a rampage demanding blood of all those who may format their scripts with an unconventional style, everyone has their own personal preferences. The wiki however is not the place to express those, or at the very least not on an LSL reference page. LSL is a derivative of C, and C based languages interpret code in what is represented with the Allman's style of formatting. That's just how C is. Heck, although K&R has it's roots in the old C manual itself, it even refers to that as being both overly complex for new programmers and a fertile breeding ground for code bugs. Surely you can understand that a documentation wiki tasked with introducing and teaching new users would not do well to be pushing a format that is strongly discouraged by the source documentation of the language LSL is based off?
Does that mean that anything other than that is less viable? Of course not. There are plenty of times where Obsfucated C can have it's purposes, but surely we can agree that place is not on an article helping new users approach their first steps into LSL and instead that's for discussion in personal groups or userpages.
K&R belongs on a wiki or documentation for JS based languages or in your personal scripting projects that aren't posted onto what is supposed to be a documentation for the language. Terk Resident 20:30, 6 September 2014 (PDT)
If we are going to select any one single style, we would give preference to LL's preferred coding style, after all LL regularly hires from the community. SL is written in C++ and LL uses a K&R derivative. -- Strife (talk|contribs) 22:05, 6 September 2014 (PDT)
But what you just linked me specifically says right there NOT to use the "more compact K&R standard"?
Am I misunderstanding you here? Because what you just linked is saying the same thing I was?
The exact section you linked me to
But anyway, that's besides the point. Viewer Code != LSL Code. We're talking about LSL here, not what the viewer is programmed in. Terk Resident 22:36, 6 September 2014 (PDT)