logoalt Hacker News

klysm04/01/20251 replyview on HN

I was surprised to see this as a library at all - isn’t it trivial especially for small collections?


Replies

ww52004/01/2025

Yes. The core algorithm is like 20 lines of code in the run_algorithm() function. But to make it easier to use, to handle different types of input, and report/query output, etc. take much more. This is the difference between an idea and a product in a loose sense. It gives purpose to my learning process anyway.

show 1 reply