News for hackers. Stuff that matters.
Re:Is this the simplest (and most surprising) sorting algori... by goatlover on Tuesday October 05, 2021 @11:38AM (#28760907)
Nearly all meaning the non-scientific computing ones, and particularly the ones with syntax inspired by C. Fortran, APL, Matlab, Wolfram, Mathematica, R, Julia, Cobol, Smalltalk and Lua are all 1-based, at least by default.
Re:Is this the simplest (and most surprising) sorting algori... by Scarblac on Tuesday October 05, 2021 @01:36PM (#28762713)
Or maybe not so much inspired by C, but inspired by similar arguments as Dijkstra makes in his "Why numbering should start at zero": https://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/E....