Rosetta Code:Village Pump/Task creation process discussion: Difference between revisions

if a task grows long just for a lang but not for others
(if a task grows long just for a lang but not for others)
Line 40:
::Hm, ... could it be done (with efforts :( ) the following way? Adding ''hidden'' templates to tasks, like placeholders for all RC-known languages... when a user adds a language, ''automatically'' the template is superseded by the header|lang template... or the user ''simply'' must remove it by hand... Then the finding of a task unimplemented in the language X will be the same as the finding of a task implemented in the language X (Solutions by Language)... but I don't know the details of running a wiki, so maybe it is not a good idea...? --[[User:ShinTakezou|ShinTakezou]] 23:28, 8 December 2008 (UTC)
:::I'd like an automatic solution. Giving users too many instructions for adding an example may discourage it. I really think a bot is the best way. --[[User:Mwn3d|Mwn3d]] 02:19, 9 December 2008 (UTC)
 
 
===New issue, if it is an issue===
I am working on an implementation of the LZW algo in C (see [[LZW compression]]). There are languages where it looks so ''simply'' since the language provide ''hashing'' or similar in a rather standard and easy way. It is not so for C. I don't know widespread common libs that provides hashing or similar. And since I liked the task, started working on it, but of course first I needed to create 1) an easy way of handling strings as sequences of N bytes (therefore no the C way), 2) a ''dictionary'' (string hash → integer) with all the needed stuff. The code for the compressor only, with few lines of debug, and 18 lines for the compression usage example, is 400 lines long... I think I should create a new page, like LZW compression/C. Or is it better I create ''derivative'' tasks? The doubt is: these tasks would be just for C and similar languages that have not hash or string handling in a natural way (in all other cases, when a suitable task exists, and if the C source exists, likely the code is too much ''particular'' to be used in the LZW task...)? ... is this still ok for RC? waiting suggestions while completing the code... --[[User:ShinTakezou|ShinTakezou]] 01:00, 21 December 2008 (UTC)