CUSEC 2016 - How to Read Unfamiliar Code by Josh Matthews

Ғылым және технология

Reading code is a skill, and one that is often neglected in formal computer science instruction. We learn how to read and write syntax, and sometimes even recognize design patterns, but diving into a new codebase can feel intimidating. Never fear - there are lots of tricks and strategies to make our job easier! We'll cover both mental and digital tools, and walk through a case study of exploring a large codebase for the first time.

Пікірлер: 17

  • @xinchen5118
    @xinchen51183 жыл бұрын

    - Start from some unique signals for your starting jumping point. Search and reduce your target files. - It's inefficient to read from top to bottom. Use commit history to target a smaller scope. - Write down what you read, even if that doesn't make sense at the moment. BFS instead of DFS. Build a priority queue to focus on things that matters. - The relationship to other part of the program. Run some snippet, isolate the code, use breakpoint, use logs. Get call stacks and understand the relations. - Link things you don't know to things you know, and follow things that you are able to understand in short period of time. This gives you more jumping points. - List things you need to understand, things you already know, and jumping points that are highly helpful. - Repeat keyword search and read if necessary.

  • @altruren3215
    @altruren32153 жыл бұрын

    This is an incredible talk. A lot of the things that are described here I've felt a strong need for clarity on in my programming. For those that stumble on to this, do not underestimate how essential these tips are. The feeling of overwhelm, discouragement, wasting time, etc. can feel brutal in a coding environment.

  • @theunknowndev2913
    @theunknowndev2913 Жыл бұрын

    Super talk, very professional and to-the-point while also being quite interesting. The enthusiasm is inspiring.

  • @danielquach8743
    @danielquach87434 жыл бұрын

    This is extremely helpful. Thank you

  • @_zZ-_-Zz_
    @_zZ-_-Zz_3 жыл бұрын

    Thank you. very helpful.

  • @galinganchev1510
    @galinganchev15105 жыл бұрын

    next time film the presentation itself, not the presenter...

  • @gongfei

    @gongfei

    4 жыл бұрын

    The first search result from googling "How to Read Unfamiliar Code by Josh Matthews" ---- www.joshmatthews.net/cusec16/unfamiliar.html so. everytime, I'd google before complaining it.

  • @abhavyachandra5994
    @abhavyachandra59944 жыл бұрын

    can someone share the link for lindsay cooper and area steuart blogpost mentioned in the vides, I can not find it?

  • @hwangroman

    @hwangroman

    4 жыл бұрын

    Here is a link to Aria Stewart talk about reading code: kzread.info/dash/bejne/X3-bt5esqKrapbA.html I was also trying to find Lindsay Cooper blog post, but couldn't.

  • @santunu23
    @santunu23 Жыл бұрын

    nice video, it will be better if we can see the presenter screen.

  • @user-vs7cw2rg7r
    @user-vs7cw2rg7r2 жыл бұрын

    Modern code is too complex for an average human to parse. Good talk on this titled (I think) "the mess we are in".

  • @yacineidir7616
    @yacineidir76163 жыл бұрын

    so it's basically a puzzle !

  • @iruga7379

    @iruga7379

    2 жыл бұрын

    Thats a good analogy and i love game puzzles.

  • @ChrisAthanas
    @ChrisAthanas Жыл бұрын

    Ummmmmm no slides on a code reading video? Cmon….

  • @swojnowski453
    @swojnowski4533 жыл бұрын

    Cause an error and get call stack. Do it repeatedly till you get a good overview which can be recreated as a directed graph. This talk is a mess: just throw a lot of ideas at people and see what sticks, something should stick for everyone ;).

Келесі