14 ms·
That wasn't the thrust of the article. The article is saying that it's more important to write tests than it is to learn how to write data structures. It spec
by cogman10 1y ago
That wasn't the thrust of the article.
The article is saying that it's more important to write tests than it is to learn how to write data structures. It specifically says you should learn which data structures you should use, but don't focus on knowing how to implement all them.
It calls out, specifically, that you should know that `sort` exists but you really don't need to know how to implement quicksort vs selection sort.
- hvb2 1y agoNo, it says learn data structures first, then focus on testing. You don't have to go super deep on all the sort algorithms, sure. That's like saying that learning testing implies writing a mocking library
- MrJohz 1y agoI think the issue is that most DSA curriculums do go super deep on things like sort algorithms or linked lists or whatever else. Whereas testing is usually barely taught in universities or colleges, and when it is taught, it's usually very lightweight.