Village Pump/Approximate fit solutions: Difference between revisions

removed vptopic [?]
(Consensus.)
(removed vptopic [?])
 
(2 intermediate revisions by 2 users not shown)
Line 1:
{{Vptopic
|topic=Closr fit solutions
|summary=New tag for "limited solutions"
}}
In some instances, it may not be possible for a language to provide an exact match solution to the task, due to limitations of the language or its utilized subcomponents. It might be a good idea to have a "limited solution" marker would be a good idea. (Similar to the "incorrect solution" tag), that reads something like 'The solution provided does not meet the exact specifications of the task, due to limitations of the language or its subcomponents. The author has tried to provide an "approximate fit" or "best fit" solution based on those limitations'. I know there are tasks on the wiki, where the solutions is a close approximation, rather than an exact fit. This might be quite useful. This would give better scope for making comparisons of languages, because it would be possible to see the limitations of the language and it tools for a particular task, (rather than the implementation being simply omitted, giving us nothing to use for evaluation of the language at all). [[User:Markhobley|Markhobley]] 09:55, 24 July 2011 (UTC)
 
Line 21 ⟶ 17:
We could just have a policy that allows approximations, if an exact fit is not available, providing that the solution states the limitations and any differences in behaviour from the task requirements. [[User:Markhobley|Markhobley]] 16:49, 24 July 2011 (UTC)
:Hi Mark, we have such a policy. It is explained above. It may rely on discussion in the talk pages but has worked in the past, and should work in the future. How about listening to the emerging [[wp:Consensus decision-making|consensus]]? --[[User:Paddy3118|Paddy3118]] 19:11, 26 July 2011 (UTC)
 
:: I like the idea of tagging what we're so far calling "approximate" solutions: solutions to problems similar in spirit to the task, when the task itself cannot be solved by the language in question. For example, if your language is sandboxed, you're not going to be able to solve a task that requires you to save a file in an arbitrary location. But rather than ignoring the task, it would be useful to write a quasi-solution that puts the data into local storage, if you have that ability.
:: This is a different situation from incorrect programs or "the language can do the task, but it's difficult and I'm lazy".
:: [[User:CRGreathouse|CRGreathouse]] 18:51, 1 August 2011 (UTC)
7,806

edits