Rosetta Code:Village Pump/Long examples

From Rosetta Code
Revision as of 05:49, 9 January 2010 by rosettacode>Paddy3118 (Somthing still viewable on a netbook should be OK.)

Recently, examples have been moved to subpages of tasks (ex: Closest pair problem‎ and Closest pair problem‎/SmallTalk). The reasons for this are so that pages don't get too long for some browsers to open when editing and so that the server won't get overloaded if one of these tasks becomes popular (bandwidth may also be a concern). It has been pointed out that this solution may be counter-productive to the goals of the site. This idea and possible alternate solutions should be discussed here. --Mwn3d 21:44, 8 January 2010 (UTC)

  • The “requirement” I have in mind is: that no effort should be needed for one to be exposed to examples in all languages while browsing a task. As far as I know, the most efficient way to do this is to have all the examples on one page.
I agree that there are practical limits, but I disagree that we've reached them, and e.g. Playing Cards/E (which is one of the examples User:Glennj split off) is surely not too long. Regarding “too long for ... editing”, are you referring to the automatic 32K notice Wikipedia puts up? As far as I know, we have lots of pages that long and no one's complained. I agree that length can be a technical and/or usability problem eventually, but I feel that we have not reached that point. --Kevin Reid 22:25, 8 January 2010 (UTC)
Some examples that have been separated are pretty short. Some others (like Arithmetic Evaluator/Ada) are obviously contributing a lot to a future problem. I hesitate to put a size requirement in bytes on examples that are too long since some take up a lot of space without being very large in bytes (like lots of Assembly examples). I'm not sure what the criteria could be except "it takes up too much space on the page". --Mwn3d 03:01, 9 January 2010 (UTC)
I too don't like splitting up long pages unless absolutely necessary. What is too long might depend on a lot of factors, but I would think that a page that is still usable on, say, a netbook should be OK - it is new, but low-powered hardware. --Paddy3118 05:49, 9 January 2010 (UTC)