Skip to main content

Questions tagged [source-code]

Source code is any collection of computer instructions (possibly with comments) written using some human-readable computer language, usually as text.

Filter by
Sorted by
Tagged with
20 votes
9 answers
3k views

I am an intern at a small software company, doing typical grunt work. Many tasks that the actual developers are doing are above my head however I finally got to see some real "action" and write some ...
Eric's user avatar
  • 502
2 votes
1 answer
1k views

This may seem an odd question, but I want to create an executable which runs under Windows written in C++. The program needs to be able to update a jar file even if Java is not installed on the ...
user619818's user avatar
  • 1,813
0 votes
0 answers
101 views

(This is a general question but I think is important.) How do you quickly understand a huge piece of code, say, a project with tens of thousands of lines of code (written by other people)? Are there ...
Cyker's user avatar
  • 109
11 votes
2 answers
5k views

I've seen some projects that - with each new year - start to change all files in their source-tree to update the copyright year. Isn't this just pushing hot air on a level of magnitude? AFAIK: ...
hakre's user avatar
  • 1,165
4 votes
2 answers
224 views

I am maintaining a small code base that I am considering selling– but I want to allow developers that use it to submit code for addition to the trunk. This way they can extend the framework and the ...
awiebe's user avatar
  • 141
2 votes
2 answers
1k views

I am a student and a freelance programmer. These days I am developing a software in VB6 which has recently crossed 100KB of source code. The main problem, I face is, many times I have to refactor my ...
user avatar
3 votes
2 answers
377 views

I notice that a property of codebases that I like hacking on is that it's quick to find the relevant code for some feature, without knowing much about the code base at all. For example, searching for ...
Steve Bennett's user avatar
0 votes
1 answer
188 views

As images have EXIF data which provide info about where and how they are created, do any Text Editors append such kind of descriptive details to code files? For example I use Coda for my programming ...
Vtatma's user avatar
  • 13
12 votes
5 answers
1k views

I am a software engineer for 4 years, and I just changed my company for the first time. Company works with pair programming, and it's been 3 days, I couldn't even write a single line of code. It's so ...
Robert Johnson's user avatar
0 votes
1 answer
553 views

For commercial and licensing purposes, what is the correct wording for differentiating JavaScript source code (written by the programmer and including comments) from the minified version used in ...
Christophe's user avatar
3 votes
1 answer
2k views

I was wondering what is the best way to organize my source code. I was researching on SO and found https://stackoverflow.com/a/1398594/137261 but this source code layout is library specific and doesn'...
tommyk's user avatar
  • 207
0 votes
1 answer
416 views

I have just released an iOS app for beta-testing with TestFlight. I'm wondering what is good practice during beta-testing? Should I halt development of the app during beta-testing? Should I continue ...
Peter Warbo's user avatar
6 votes
4 answers
7k views

I just came from an interview in which they asked me several questions about programming and problem solving. Regarding the programming questions, I asked them to let me Google so I can see the code (...
user avatar
5 votes
2 answers
2k views

At work we have a legacy system written in Visual FoxPRO. Everything in foxpro is a table, even forms, so basically if you open a form file with a text editor you don't learn much. Does anyone know ...
joe's user avatar
  • 207
11 votes
3 answers
11k views

While the question itself might sounds silly, the answer is quite important to me, as I feel that issue is negatively affecting my work performance. A bit of the background here: I am a seasoned ...
Mitten's user avatar
  • 331
5 votes
3 answers
373 views

Recently my company was asked by a customer to develop a control board that includes firmware and PCB layout development. After finishing development the customer will buy the control boards at ...
superNewbie's user avatar
9 votes
2 answers
458 views

When manually inspecting unfamiliar code (to review or modify), I seem to have three options. A top-down read of the code, choosing each next source file by how fundamental the filename seems. I ...
Drew Dormann's user avatar
4 votes
2 answers
2k views

I'm sixteen, I'm overly interested in programming, and I'm currently taking IT classes during my mornings in high school. Last year, I tried teaching myself to code. It was quite exciting, but all I ...
Gunnar Keith's user avatar
8 votes
3 answers
1k views

Should I be studying big softwares written by other people in our company? My work may be a small sub module on the top of that software, and I may not be required to know what goes beneath the hood, ...
Aquarius_Girl's user avatar
4 votes
3 answers
9k views

There have been questions similar to this, but my question is HOW exactly do you showcase your code when going to an interview? Do you show screenshots, or do you bring the actual code? Do you take ...
user1802256's user avatar
3 votes
1 answer
396 views

Given this sample code import java.util.ArrayList; import blackjack.model.items.Card; public class BlackJackPlayer extends Player { private double bet; private Hand hand01 = new Hand(); ...
KyelJmD's user avatar
  • 981
67 votes
14 answers
18k views

Possible Duplicate: How to manage a Closed Source High-Risk Project? I'm working on an institution that has a really strong sense of "possession" - each line of software we write should be only ...
AeroCross's user avatar
  • 871
11 votes
8 answers
816 views

A recent article by ycombinator lists a comment with principles of a great programmer. #7. Good programmer: I optimize code. Better programmer: I structure data. Best programmer: What's the ...
New Alexandria's user avatar
1 vote
1 answer
194 views

I really hope you can give me some interesting viewpoints for my situation, because I am not satisfied with my current approach. I am writing an MP3 parser, starting with an ID3v2 parser. Right now ...
user66141's user avatar
4 votes
3 answers
3k views

Chidamber & Kemerer proposed several metrics for object oriented code. Among them, depth of inheritance tree, weighted number of methods, number of member functions, number of children, and ...
DeveloperDon's user avatar
  • 4,978
4 votes
3 answers
806 views

I'm reading about ASP.NET (VB.NET) and I want to built my professionally website. I'm wondering though; I'm still using the basics so I'm really just a novice, but how much should I rely on Visual ...
Ant's user avatar
  • 51
3 votes
3 answers
3k views

Currently I'm working as a freelancer, and for the first time a faced a client who wants the source code too. This client owns a software development company, and wants to have rights over the source ...
Deivuh's user avatar
  • 33
89 votes
29 answers
21k views

I am an intern for a health company (unpaid), let's call it Company A and I noticed that they are using a lot of paper form for things that can be done on the computer. Excel files for things that ...
18 votes
11 answers
44k views

Of course, it is very good use to use a logging framework for the error messages or warnings. But sometimes I use System.out.println() if I want to try something new in a short time. Is it really so ...
Kayser's user avatar
  • 376
4 votes
5 answers
676 views

Many a times I have to deal with code files which are quite long - about 5 screen pages at the minimum. Almost always there is something towards the top/bottom that I need to refer when I'm at the ...
PhD's user avatar
  • 2,541
1 vote
5 answers
1k views

I have a class created in some namespace, like SomeNameSpace.SubNameSpace.StaticClassName Here is a code snippet from other code file where I want to use this class many more times, so I created a ...
Sreekumar P's user avatar
54 votes
7 answers
4k views

I work with a team of programmers as the business analyst. We just released version 2.0 of our product and are working on the next version to be released in 3 months (it's an internal software ...
Ryan's user avatar
  • 1,095
4 votes
3 answers
2k views

This question got me thinking what products of the programming effort belong to the employer, and what don't. The two extremes are (0) the code - it apparently belongs to the employer and (1) the ...
Vorac's user avatar
  • 7,189
12 votes
3 answers
8k views

I feel that often you don't really choose what format your code is in. I mean most of my tools in the past have decided for me. Or I haven't really even thought about it. I was using TextPad on ...
Parris's user avatar
  • 241
0 votes
4 answers
520 views

I'm studying source code with other developers, and my job is to type up the specifications as the lead programmer describes what each function does. Are there any tips/tricks to doing this faster? a ...
Caffeinated's user avatar
3 votes
2 answers
146 views

Are there resources out there for a programmer with a large code base to have professional alalysis performed for the goal of finding the areas of most needed improvement? Logic/Reason tells me there'...
Aaron Anodide's user avatar
1 vote
2 answers
227 views

Preamble (Skip if you don't like to read) I've been learning C/C++ in school for a year now and all the assignments in the book, after reading through the chapters, were not too difficult to ...
user avatar
5 votes
5 answers
3k views

Possible Duplicate: How much documentation is enough? Do you know how the big IT company like IBM, Microsoft, or google make sure their application source code has proper documentation for future ...
null's user avatar
  • 155
9 votes
3 answers
3k views

I'm about to undertake a project. This requires me to write code, and tons of it. The client's requirement is to hand in all source code at the end of the project. My question is: How do I quantify ...
Buhake Sindi's user avatar
4 votes
2 answers
506 views

Is there any software that will allow me to generate trouble tickets (for Trac, Team Foundation Server, etc.) from TODO or otherwise annotated comments in the source code?
quanticle's user avatar
  • 955
40 votes
10 answers
49k views

Possible Duplicate: What is the most effective way to add functionality to unfamiliar, structurally unsound code? Till now, all I have worked on is with Java projects that I build from scratch (...
Ankit's user avatar
  • 551
3 votes
1 answer
1k views

I'm integrating EASTL into my game programming framework. I did some changes to it since I have my own memory management sub-system and now I'm wondering what I need to do to not break the license ...
TheDeveloper's user avatar
11 votes
7 answers
10k views

Possible Duplicate: Hand over source code to customer I have developed a couple of form based windows application in vb.net for a client and they all work well and he paid me through a freelance site. ...
Tec's user avatar
  • 111
9 votes
3 answers
2k views

I know there is a big push for code reviews in commercial development. However, are code reviews used in open source software or is based on trust? If so, then how are they performed? [Is it a delayed ...
monksy's user avatar
  • 639
5 votes
0 answers
244 views

Possible Duplicate: How do you dive into large code bases? When you join a pre-existing project that has a large code base, what are some of the things you do to get acclimatized quickly towards ...
sparkFinder's user avatar
37 votes
5 answers
5k views

I've seen multiple posts about rewrites of applications being bad, people's experiences about it here on Programmers, and an article I've ready by Joel Spolsky on the subject, but no hard evidence or ...
user avatar
15 votes
14 answers
5k views

I find very troubling amount of spelling mistakes I see everyday in our codebase, from which I will reproduce a very short but representative example: ArgumnetCount Timeount Gor message from queue ...
Andrei G's user avatar
  • 1,127
22 votes
5 answers
2k views

It has been less than a year since I joined my current company. Their majority of sales have come from a single product that has been alive since the last 10 years. However, there is minimal (if at ...
arin's user avatar
  • 430
20 votes
7 answers
3k views

I've been asked to evaluate what appears to be a substantial legacy codebase, as a precursor to taking a contract maintaining that codebase. This isn't the first time I've been in this situation. In ...
Engineer's user avatar
  • 781
5 votes
7 answers
561 views

We all know that the process of creating a design and the whole architecture of the software is very important before writing the code. But how deep should be dive into the design stuff - should we ...
Sergey's user avatar
  • 2,703