3 ms·
And it looks like "the most beautiful possible" `let [current, ...rest] = changes` [1] never happened either! [1] https://github.com/VSCodeVim/Vim/pull/496#iss
by opello 2y ago
And it looks like "the most beautiful possible" `let [current, ...rest] = changes` [1] never happened either!
[1] https://github.com/VSCodeVim/Vim/pull/496#issuecomment-235476908 https://github.com/VSCodeVim/Vim/pull/496#issuecomment-23547...
- infogulch 2y agoTrue! I didn't even remember that detail. To respond to that comment nearly a decade later, I might object that swapping a zero copy zero allocations iterator for something that does O(N^2) element copies and allocates N new lists for zero practical benefit cannot be beautiful on principle, regardless of how pretty it looks on the surface. Beauty is when practicality and perception pull in parallel towards purpose. Sacrificing one for the other can have a certain aesthetic quality, but I would not call it beautiful.