Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
2answers
151 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. ...
14
votes
3answers
614 views

How to locate source code that implemented a certain feature?

I was wondering what are some techniques to locate which code implemented a specific feature, on a desktop application. I am a junior developer, with only professional programming experience lying ...
2
votes
2answers
865 views

Where should I start reading AngularJS's source code?

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 ...
0
votes
0answers
47 views

How to understand codebase of complex opensource application [duplicate]

I'm trying to develop a new feature for open source application. But the existing application uses different APIs like Qt and KDE3. And more over the existing files are also very complexand depend on ...
1
vote
2answers
202 views

What diagram to construct when familiarizing oneself with new code?

When I first encounter a new code base, I often find myself constructing flowchart-like-thingies-on-paper, while stepping through the code - either by reading it, or with the debugger. Another ...
3
votes
5answers
475 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 ...
3
votes
1answer
200 views

How to read Scala code with lots of implicits?

Consider the following code fragment (adapted from http://stackoverflow.com/a/12265946/1333025): // Using scalaz 6 import scalaz._, Scalaz._ object Example extends App { case class Container(i: ...
1
vote
2answers
314 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 ...
13
votes
5answers
530 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 ...
5
votes
2answers
431 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 ...
5
votes
9answers
3k views

Best Practices and Tips for Reading Source Code [closed]

Code reading is an important part of a programmer's life because we usually work in groups and have to maintain, complete or contribute to the other developer's codes. From that point of view, code ...
10
votes
9answers
1k views

How to handle a 'bad code' interview?

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 ...