|
|
|
|
|
by tharkun__
1832 days ago
|
|
By all means, if the specific algorithm isn't important I would totally be onboard with you in naming it after what the purpose is instead! Feels like the difference between inlining quicksort vs. calling quicksort() vs. calling sort(). In some situations you really are on a level where you need to know you are calling mergesort() and not quicksort() but some are fine with sort(). I doubt there are many examples of code I'd argue for inlining. |
|