Better HN
topnewbestaskshowjobs
Log inSign up

smyatkin_maxim

6 karma · joined Nov 2, 2016 (10y ago) · 3 submissions

Submissions

comment 9y ago · link · parent

Excellent question btw. Language-agnostic books don't get out-dated that fast and I'd give them higher priority. Personally:

- Code complete

- Pragmatic programmer

- Design patterns

- Programming pearls

- If you're going for hardcore programming: the dragon book, something on modern hardware and something on OS internals.

comment 9y ago · link · parent

Well...

- On the 2nd year of education I knew that "index is something in database, which helps to locate data faster. Like an index at the end of a book, it helps to find the right page w/o whole scan of a book".

- Later, probably at 4th or 5th year I got the idea how these are implemented using B+-trees.

- And even later have seen some alternative implementations.

But anyways, IMO even for a senior web developer it's enough to know that index is SOME fast data structure on disc, which trades duplication and (usually) slower writes for faster lookup. And optimizer sometimes will chose index scan, sometimes won't. And to know some basic optimization techniques (like throwing ORDER BY away when data is already sorted by index).