Rosetta Code:Add a Task: Difference between revisions

Content added Content deleted
(Undo revision 106502 by Xkrouhn (talk) No, sorry. That was right.)
(Delete entire section about 'semantic annotations'. Bad example of semantic markup. Page ((Delegates)) never had such markup, and ((Property:Task concept)) exists not on this wiki.)
Line 54: Line 54:


==Additional information==
==Additional information==
===Semantic annotations===
If your task invokes particular concepts (and it should; that's part of what a task is supposed to do), these should be marked with semantic notation. This will help better organize your task on Rosetta Code. To take an example, excerpted and modified from [[Delegates]]:

<blockquote>A delegate is a '''helper object''' used by another object. The delegator may send the delegate certain '''messages''', and provide a default implementation when there is no delegate or the delegate does not respond to a message.</blockquote>

This could be annotated like this:

<blockquote>A delegate is a '''<nowiki>[[task concept::helper object]]</nowiki>''' used by another object. The delegator may send the delegate certain '''<nowiki>[[task concept::message|messages]]</nowiki>''', and provide a default implementation when there is no delegate or the delegate does not respond to a message.</blockquote>

This links the task with a property named "task concept" using "helper object" and "message" as the relation.

===Lurk!===
===Lurk!===
'''Read existing task descriptions''', and model yours after ones you like. If you follow the Recent Changes feed, you can watch the creation of one, live. Alternately, you might take a look at the edit history of existing tasks (and their talk pages), to get a feel of the process and the (unwritten) "house style."
'''Read existing task descriptions''', and model yours after ones you like. If you follow the Recent Changes feed, you can watch the creation of one, live. Alternately, you might take a look at the edit history of existing tasks (and their talk pages), to get a feel of the process and the (unwritten) "house style."