Comment

Comment by petrzjunior

I think the question is whether sort should return a new, sorted array or whether it should sort the array in place. In functional languages it is the former, in imperative the latter.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton