JavaScript Jabber

JSJ 408: Reading Source Code with Carl Mungazi

Nov 19, 2019
Frontend developer Carl Mungazi discusses the benefits of reading source code. He compares it to learning a foreign language and shares tips for effective code reading. The panel explores the advantages of small, simple libraries and how to apply techniques learned from source code to coding style.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

Carl's Entry Into Source Code Reading

  • Carl began reading source code because he entered programming late and lacked computer science fundamentals.
  • His first deep dive was into Mithril.js source code to understand its virtual DOM, which opened his eyes to reading code.
ADVICE

Active Debugging for Source Code

  • Start reading source code by creating a very basic app that uses the library.
  • Use breakpoints and call stacks actively, be patient, and expect to take wrong paths initially.
ADVICE

Contact Authors for Help

  • Approach library authors via Twitter or email for help understanding their code.
  • Authors are often happy to assist and provide deeper insights or documentation.
Get the Snipd Podcast app to discover more snips from this episode
Get the app