Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on a[low:high:max] in Golang – A Rare Slice Trick. Parent comment
In Go, the underlying array is fixed, and each slice independently has resize/reallocate operations.
The JS approach seems better and more comprehensible to me. (I note also that MDN lists “resizable” and “maxByteLength” as new experimental features.)
There are no comments on this comment yet.
In Go, the underlying array is fixed, and each slice independently has resize/reallocate operations.
The JS approach seems better and more comprehensible to me. (I note also that MDN lists “resizable” and “maxByteLength” as new experimental features.)