Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 3.23 KB

reading-source-code.md

File metadata and controls

60 lines (42 loc) · 3.23 KB

Reading Source Code

In you developer life you'll use more of other people's code than your own. Your ability to choose and compare open source libraries will be crucial. This isn't easy. You need to balance features, community, documentation, opinion, ... the list goes on. All that will come with experience.

Before any other skills, you need to know how to navigate codebase. Documentation is good, wikis are nice, communities are helpful, but they are all built to support a living codebase. Eight hours into a bug there will be no more helpful documentation or Q/A's that you haven't read, your only hope will to be going into a library's GitHub repo and sifting through the codebase my hand.

At times like these, familiarity with reading through large projects will save your sanity. Firstly because you've (hopefully) chosen a clearly written library, and secondly because you'll finally fix that darned bug!


Why to read the source


How to read js source

Here's a few resources, find the one that works for you.

The best resoure of all:

  • Your own experience. Read a lot of source code.
  • Throw away all of your books and print the Express source code.

What to read

Some good libraries to start with:


resources


Counterpoint

CodingHorror. From a certain perspective the source code is irrelevant. This article's main point is that apps aren't about code, they're about user experiences. It say the best way to understand an app or library is to understand the user experiences and try replicating them.

Hello!

Bonjour!

Ciao!