3 ms·
Luckily you can implement a stack in 10 very simple lines. And if you don't want to do that, there are many existing implementations.
by courtf 8y ago
Luckily you can implement a stack in 10 very simple lines. And if you don't want to do that, there are many existing implementations.
- tsimionescu 8y agoWell, not ones as efficient as the one showed here, since those can't be expressed in the language as it currently stands.
- tonyedgecombe 8y ago>there are many existing implementations Sounds like JavaScript/Node all over again, which shouldn't surprise anybody as many of the prominent Node developers hopped over to Go.