Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.

Questions tagged [reading-code]

Filter by
Sorted by
Tagged with
0 votes
1 answer
148 views

If a class is written well, you should be able to gleam all relevant information about the class simply by looking at its header. If one sees that the constructor is marked explicit: What should one ...
Anon's user avatar
  • 3,649
4 votes
2 answers
303 views

I've been assigned to explore implementing (along with modifications, so understanding it is a must) this algorithm for the 'Redistricting Problem': https://dl.acm.org/doi/pdf/10.1145/3274895.3274979 ....
Samia Zaman's user avatar
3 votes
0 answers
184 views

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 ...
ace's user avatar
  • 41
2 votes
3 answers
796 views

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 ...
apksherlock's user avatar
6 votes
2 answers
4k views

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/...
Anon's user avatar
  • 3,649
25 votes
7 answers
3k views

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 ...
James Bond's user avatar
0 votes
2 answers
189 views

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)...
CodyBugstein's user avatar
4 votes
2 answers
879 views

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, ...
ideasman42's user avatar
-1 votes
2 answers
835 views

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. ...
ideasman42's user avatar
9 votes
2 answers
7k views

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 ...
Abaco's user avatar
  • 211
5 votes
5 answers
3k views

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 ...
Filip's user avatar
  • 61
6 votes
2 answers
786 views

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: ...
Petr's user avatar
  • 5,557
0 votes
2 answers
925 views

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 ...
Adrián Pérez's user avatar
14 votes
5 answers
702 views

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 ...
an0nym0us c0ward's user avatar
6 votes
2 answers
1k views

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 ...
Achim's user avatar
  • 179
12 votes
9 answers
3k views

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 ...
quanticle's user avatar
  • 955