Rosetta Code talk:Solve a Task: Difference between revisions

→‎Alternative Solutions: No "proper" method but ...
(Alternative Solutions?)
 
(→‎Alternative Solutions: No "proper" method but ...)
Line 2:
 
Is there a proper method for adding alternative solutions for a particular language for alreadys-solved tasks? [[User:Binki|Binki]] ([[User talk:Binki|talk]]) 15:23, 9 January 2014 (UTC)
 
:No "proper" method, but I usually only consider adding another solution if it is sufficiently different from what is there. This could be using a different algorithm (if the task allows), or a different style of programming if your language allows say functional and OO styles and the two forms of solution look sufficiently different. We try ''not'' to have another example in the same language just because someone else has managed to solve the task, and you really need to ask if you could improve an existing solution first. Looking at most tasks examples, hardly any have multiple solutions in the same language. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 16:25, 9 January 2014 (UTC)
Anonymous user