Source code read preface

In order to help more interested in the source code, want to learn to read the source code, improve their writing and front-end technology ability of the students. Help readers to lay a solid foundation, check omissions and fill gaps, broaden their horizons, broaden their horizons, know what is what.

I organized a weekly reading session where we learned about 200 lines of source code together. I have written “learning source code overall architecture series” more than 20.

Jia is welcome to participate in the source code reading activity through ruoChuan12 and learn about 200 lines of source code every week to make progress together. You can keep following me @Ruogawa.

Recommend learning order from easy to difficult

Activity introduction and sequence see here specifically from easy to difficult recommended learning order

Submit notes

In brief: look at tasks, read auxiliary articles, read source code, exchange and discuss, write notes in nuggets, and submit them to the comments section of this article after writing.

Task Release Time

One week from March 28th to April 3rd. Generally a weekly issue of source code. Study at your own pace and submit notes (it doesn’t have to be strictly on my schedule). Previous reading can also be reviewed in time, notes can continue to complete.

Learning goals

  1. Simple “Least Recently Used” (LRU) cache
  2. Focus on test cases
  3. You can also focus on projectsTypeScript

Learning task

  • The quick – lru source code library
  • npm quick-lru
  • 200 + lines of code, not too hard.