Also after reasonable period if you are stuck you can actually ask them what were they thinking and why was it written that way and what are the constrains they thought of.
And you can discuss these, with both of you hopefully having experience in the domain.
And you can discuss these, with both of you hopefully having experience in the domain.