Content deleted Content added
→Kadane's algorithm code: new section |
|||
Line 74:
I am finding it difficult to believe that we should just scrap the C++ code in this section. I think that before we do that we should implement the ability to track indices in the Python version as well. The C++ code did this, but the Python code does not.
[[User:Mrcsmcln|Mrcsmcln]] ([[User talk:Mrcsmcln|talk]]) 11:45, 2 October 2014 (UTC)
:Wikipedia is [[WP:NOT|not a code repository]]. We should not have 20 different implementations of the same algorithm in 20 different programming languages, or even 2. Multiple implementations are ok only when they show significant variations in the algorithms, and tracking indices is not a significant variation. Pseudocode might be a better choice than any specific language, but Python is closer to pseudocode than C++ is. —[[User:David Eppstein|David Eppstein]] ([[User talk:David Eppstein|talk]]) 15:04, 2 October 2014 (UTC)
|