Difference between revisions of "Community Portal/User Defined Functions"
Community Portal/User Defined Functions (edit)
Revision as of 10:17, 18 October 2014
, 10:17, 18 October 2014Fixing a double redirect
imported>Qazaaq (need to discuss user defined functions somewhere) |
imported>QQuix m (Fixing a double redirect) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
OBSE v18, which is now in beta, adds [http://obse.silverlock.org/obse_command_doc.html#UserDefinedFunctions user defined functions]. The Wiki would be a perfect place to host a function library, similar to the [[:Category:Useful Code|Useful Code section]]. I haven't had much thought about this yet, so I'll leave this page open, but I thought we'd need a place to discuss. | OBSE v18, which is now in beta, adds [http://obse.silverlock.org/obse_command_doc.html#UserDefinedFunctions user defined functions]. The Wiki would be a perfect place to host a function library, similar to the [[:Category:Useful Code|Useful Code section]]. I haven't had much thought about this yet, so I'll leave this page open, but I thought we'd need a place to discuss. | ||
<br/>--[[User:Qazaaq|Qazaaq]] 06:49, 31 July 2009 (EDT) | <br/>--[[User:Qazaaq|Qazaaq]] 06:49, 31 July 2009 (EDT) | ||
:The first question that comes to my mind is: how to manage/organize the potentially many implementations of the same function, considering that article titles must be unique? All in the same page under a common, descriptive function name? Or in different pages and different names? | |||
:Atm, it seems to me that the best alternative is to add new implementations to the same function page. | |||
:I created the [[Min / Max]] page mostly to materialize an initial page so we can discuss it and use it as a test page for possible solutions/suggestions/formats. It turned out as a good example as, although quite straightforward, this function may have multiple implementations. | |||
:Another aspect is that this may be fine for obvious, simple function names (where a single description covers all implementations), but I guess pretty soon modders will get creative and devise function names that may be quite ambiguous. Should we just wait and see how things evolve? [[User:QQuix|QQuix]] 11:30, 31 July 2009 (EDT) | |||
::I say we simply restrict things to the implementation that seems the best (performance, easiness to read, etc) - use Discussion pages to deliberate on that, if necessary. If two functions actually work two separate ways (for example, a Floor function that always rounds down versus one that always rounds towards zero), we could have both with their own headers, or give them separate pages - it doesn't really strike me as a big deal either way. I'm tempted to agree, though, that it'd be a better to have them on the same page, but again, not a huge deal. | |||
::The Min page looks good. The [[User Functions]] page needs work (Wiki'fication, mostly), but that's fine. I'm also fine with the wait-and-see plan on this. | |||
::Remember, name conflicts in actual mods isn't a problem. You're still dealing with FormIDs. | |||
::[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 12:37, 31 July 2009 (EDT) |