News for hackers. Stuff that matters.
Re:Let’s Build a Simple Database (2017) by fgonzag on Friday April 05, 2019 @07:29PM (#19588031)
It is an essential skill for our job though, being able to dive into a new code base, form a mental model of it, and modify it either because of new feature requirements or simply bug fixing.

And it is a skill, I also had a lot of trouble with it initially, but diving into several open source projects was the perfect way to practice it, and it helped me tremendously in my professional development.

Re:Let’s Build a Simple Database (2017) by PretzelFisch on Friday April 05, 2019 @09:05PM (#19588492)
Reading the source doesn't tell you why they chose that route or what the tradeoffs are.
Re:Let’s Build a Simple Database (2017) by ldng on Tuesday April 09, 2019 @07:13AM (#19613457)
Well, depends on the quality of the documentation I guess.
Re:Let’s Build a Simple Database (2017) by notafrog on Saturday April 06, 2019 @06:39AM (#19590154)
I agree with you, in that it's an essential skill for our job. However, from my experience at least, I've found that going head first into the source code of something you don't really understand how it works, is not the best course of action.

For example, I would make sure to read about B+ trees first, before reading the implementation of indexes in SQLite or PostgreSQL.

Re:Let’s Build a Simple Database (2017) by rnnr on Friday April 05, 2019 @08:15PM (#19588279)
Agreed. A good tip for this is to try to find the earliest version/commit of the project you are interested into.
Re:Let’s Build a Simple Database (2017) by dokem on Friday April 05, 2019 @10:15PM (#19588745)
Most code bases are business logic and not nearly as complex or formal as a db. DBs, OSs and compilers are systems that should be studied to be effective in the code.
Re:Let’s Build a Simple Database (2017) by afarrell on Saturday April 06, 2019 @01:16PM (#19591791)
The thing about it that I find hard is knowing how to judge the important bits to read and knowing where to direct my attention as I read. Any tips on learning that?

I find that without knowing where to direct my attention, it is really hard to avoid getting distracted.