Slashdot Mirror


Ask Slashdot: How To Start Reading Other's Code?

BorgeStrand writes "I'm reviving an open source project and need to read up on a lot of existing code written by others. What are your tricks for quickly getting to grips with code written by others? The project is written in C++ using several APIs which are unknown to me. I know embedded C pretty well, so both the syntax, the APIs and the general functionality are things I wish to explore before I can contribute to the project."

3 of 254 comments (clear)

  1. Read someone elses Perl code first by jd2112 · · Score: 4, Funny

    Everything else will seem simple after that...

    --
    Any insufficiently advanced magic is indistinguishable from technology.
  2. Try some good quality marijuana by stevegee58 · · Score: 4, Funny

    It won't help you understand the code but you'll stop worrying about it so much.

  3. Re:Test and Break by ichthus · · Score: 5, Funny

    And lo, yea though ye shifteth right 8 bits, counteth not thy sign as verily carried henceforth unto the int8_t.

    --
    sig: sauer