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

(if a task grows long just for a lang but not for others)
Line 44:
===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)
:Is there some way of putting your code in a scollable section of say only 50 lines long? --[[User:Paddy3118|Paddy3118]] 15:35, 21 December 2008 (UTC)
Anonymous user