Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [reading-code]

The tag has no usage guidance.

2
votes
0answers
141 views

Best practices for understanding/resurrecting old technical code?

Recently, I've been in a few situations where I needed to quickly come up to speed on old code and fix it sufficiently for people to be able to use it again. The code I've worked on tends to have the ...
1
vote
3answers
476 views

Difficulties in reading code

I don't have more than 6 months of experience and I am a little lazy . I work on Android platform . I have very good skills in understanding what is happening in general . The problem is that I don't ...
3
votes
2answers
673 views

What can I infer from someones code when they use direct initialization with Curly Braces as opposed to Parenthese?

Up until now, I have been initializing most of my variables as such: const QString foo("bar"); Which from my newfound understanding, is known as direct initialization. (http://en.cppreference.com/w/...
24
votes
7answers
1k views

As a software engineer, how important is it to read other's code?

I am a budding software engineer (now a sophomore, major in CS) and I really struggle to understand other people's programs. I want to know if this skill (or lack of it) can be a handicap for me, and ...
0
votes
2answers
164 views

What are some good approaches for reading Javscript code?

I'm looking for suggestions on how to read large Javascript codebases, for example, of a framework. For example, let's say P5js, but this applies to any large framework (i.e like AngularJS, Ember, etc)...
4
votes
2answers
629 views

Advice for volunteer developers learning large codebases [closed]

Working in an open source project has the result that sometimes developers with no experience in the codebase attempt to "learn the code" on their own. There is a reccurring trap I've seen, where new ...
-1
votes
2answers
797 views

Reading assembly useful for insights when writing C/C++? [closed]

While in most cases its not necessarily, recently I have taken to reading the generated assembly of my C code every so often, when I'm curious as to the kinds of optimizations my compiler is making. ...
8
votes
2answers
6k views

Where should I start reading AngularJS's source code? [closed]

After reading this article I realized that I really didn't read any "serious" source code during my 3-years as a professional developer. Recently I started a new web-project which makes heavy use of ...
4
votes
5answers
2k views

What is the best way to understand code in a project with null documentation?

It is our first game and we are a start-up. We had a programmer who suddenly is seeming to be a dead weight. Though we knew him personally we thought that he was as motivated as we are and hence I ...
6
votes
2answers
671 views

How to read Scala code with lots of implicits?

Consider the following code fragment (adapted from https://stackoverflow.com/a/12265946/1333025): // Using scalaz 6 import scalaz._, Scalaz._ object Example extends App { case class Container(i: ...
0
votes
2answers
684 views

What are best practices to read high level undocumented and uncommented code?

There are some opensource projects, that have classes and classes without any significant explanation about what the class does and or why is that class needed. For example, classes in the CppEditor ...
14
votes
5answers
610 views

How should someone used to FP thinking read imperative code?

I graduated from university about five months ago, and have been working in a local startup for past four months. While at university, I studied Haskell, F# etc on my own. We were taught Java at the ...
6
votes
2answers
921 views

Start reading Ruby (on Rails) code [closed]

I'm an experienced developer which quite some experience in meta programming. I just found my way to Ruby and want to understand more of Rails (and related) project internals. Even if I understand the ...
12
votes
9answers
2k views

How to handle a 'bad code' interview? [closed]

A 'bad code' interview is one where the interviewee is shown a snippet of 'bad code' and asked to correct it or point out things that are wrong with it. I have trouble with these interviews because it ...