If all I ever did was copy and paste the top stackoverflow result for anything I wanted to do, it’d probably work, plus some glue logic. But should I always be using that method? Are there edge cases or caveats that I might hit in my use case that weren’t a consideration for the asker’s? Does the algorithm match the kind of data types I’m already using, or will I be adding a lot of conversion overhead to make this code snippet work? Without trying things myself, the best I can do is repeat what I’ve read.