|
|
|
|
|
by NoddyCode
812 days ago
|
|
I don't really use them directly, but knowing about them helps me write more performant code. I know to ask questions like "which of the available sort functions is best for data that is mostly sorted" and "what's the best way to navigate this deeply nested object?" They also help you recognize certain patterns and apply known solutions before trying to reinvent the wheel. SO many problems end up being graph problems that have been solved time and time again (and sometimes you can recognize a Traveling Salesman problem before you start ripping your hair out). Plus, writing algorithms gives you lots of practice with recursion and iteration, and knowing when to use which where. And it's fun! You may not use the knowledge directly, but you do pick up a lot of little useful nuggets for real enterprise development. |
|