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

learn more… | top users | synonyms

35
votes
11answers
2k views

Are there any reasons not to accept a software deliverable as a virtual machine?

This is a question about logistics, not a technical question. My company has outsourced some embedded software work. Specifically, we have payed a contractor to develop an embedded system for us ...
0
votes
1answer
158 views

Source control system for binary files

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 ...
5
votes
3answers
194 views

How can I become better on explaining the code to other developers? [closed]

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 ...
-4
votes
1answer
156 views

Where should I sell my software's source code? [closed]

I started a project about 4 years ago. It's been a while so I'm not exactly sure what should I do with it. I made a piece of software with self-made algorithms – have a whole note with handscript for ...
0
votes
3answers
324 views

Developers taking code home - how bad is it? [duplicate]

I have an idea that if I have programmers under me that it would be better if the company give each of them a [good] laptop on which they can develop conveniently and allow them to take their machine ...
4
votes
3answers
171 views

Customer ask firmware source file

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 ...
7
votes
3answers
350 views

How can I present some printed Visual Basic source code in an aesthetically pleasing manner?

Right now I'm interning at a major engineering company. I'll be leaving in a few months though, so my project manager has requested a print out of my source code for a VBA project I've been working ...
-1
votes
3answers
637 views

Study Doom 3 Source Code [duplicate]

Possible Duplicate: How do you dive into large code bases? I want to study the source code of a large project (for example, the Doom 3 source code) and I would like some help determining ...
6
votes
3answers
157 views

How to refer to specific areas of code in documentation?

I'm about to leave a project, and before I go my boss has asked for me to document code (I've not documented very well). It's not a big deal, the project is not terribly complex. But I'm finding ...
10
votes
2answers
193 views

What tools or techniques are useful for describing an unfamiliar codebase?

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 ...
1
vote
3answers
221 views

Is there any open source code analyzer for java which I can adopt my software metrics algorithm on it? [closed]

I am doing my masters dissertation and I have conducted a software metrics. I need to adopt my metrics on an open source tool. I have found PMD and check style on sourceforge.net but there is not ...
6
votes
3answers
375 views

Does studying other people's programs help in self growth?

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, ...
0
votes
2answers
293 views

Who owns the IP rights of the software without written employment contract? Employer or employee? [closed]

I am a software engineer who got an idea, and developed alone an integrated ERP software solution over the past 2 years. I got the idea and coded much of the software in my personal time, utilizing my ...
4
votes
1answer
201 views

Distinguishing repetitive code with the same implementation

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(); ...
52
votes
14answers
5k views

How to prevent code from leaking outside work? [duplicate]

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 ...
3
votes
3answers
163 views

Code bases for desktop and mobile versions of the same app

I have written a small Java Swing desktop application. It seems like a natural step to port it to Android since I am interested in learning how to program for that platform. I believe that I can reuse ...
2
votes
3answers
379 views

How much more should I charge for freelance project source code?

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 ...
80
votes
29answers
17k views

Can my company give IP rights away for an application I wrote off hours to another startup? [closed]

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 ...
1
vote
2answers
208 views

What do I need to know about writing a liability warranty disclaimer when selling source code? [closed]

I have just put together a simple website for a friend who is setting up his company. He wants to pay me for this because he wants "a professional job". It would cost me more to go to a lawyer than ...
5
votes
1answer
264 views

Does custom created code for a client imply copyright ownership?

I know of a potential customer that has been paying for website development work on an hourly basis for several years by several independent contractors, but has never signed an agreement as to terms ...
3
votes
5answers
338 views

Practices for navigating and changing “long” code files?

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 ...
50
votes
7answers
3k views

Is there something wrong with how we're doing version control?

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 ...
51
votes
9answers
3k views

Is committing/checking in code everyday a good practice?

I've been reading Martin Fowler's note on Continuous Integration and he lists as a must "Everyone Commits To the Mainline Every Day". I do not like to commit code unless the section I'm working on ...
3
votes
3answers
307 views

Who owns the code, who owns the algorithm, who owns the idea?

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 ...
159
votes
22answers
23k views

Should you keep a copy of all the code you write?

I know the company you work for owns the code and obviously you will get arrested if you try to sell it. But is it uncommon for developers to keep a personal copy of the code they wrote (for future ...
2
votes
2answers
371 views

Should my source code be in UTF-8?

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

How can I speed up the process of typing up specification during a meeting with developers? [closed]

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 ...
3
votes
5answers
524 views

How to make sure the application source code has a proper documentation for new programmers? [duplicate]

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 ...
2
votes
4answers
217 views

Cross-Platform: Develop in parallel or series?

When starting a new software project that will be used on several platforms, how do you determine the best way to start development? Do you develop for one platform and then port to the next? Do you ...
5
votes
7answers
414 views

What are some ways to maintain codebases written in two languages that implement the same logic?

I have a logic intensive algorithm that I need to code in two languages (actually I finished it in one language satisfactorily and am about to start coding in the other language). By logic intensive ...
8
votes
3answers
435 views

Quantifying the price for source code and software product

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 ...
3
votes
1answer
177 views

Create Tickets From TODO (or otherwise annotated) comments

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?
2
votes
1answer
334 views

How to fulfill EASTL license

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 ...
8
votes
7answers
1k views

Freelancing - Share the source code? [duplicate]

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 ...
3
votes
2answers
395 views

Is there a sample C project designed for comparing compiler output size?

I am about to start a new project and must choose a compiler. Because we are working in the embedded domain, one of the criteria that we are evaluating is the size of the output of the compiler. ...
5
votes
0answers
229 views

What to do when tackling an unfamiliar Code base? [duplicate]

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 ...
4
votes
5answers
523 views

Where can I find simple, but well-written programs to learn from?

I've tried a few times to look at the source code for various things from github or other sites, in javascript, C#, PHP, etc. I'm never able to understand the programs as a whole though. I can sort of ...
9
votes
4answers
626 views

Prepare source code handover plan

Our company is about to acquire a source code of a huge product. What are thing to take into consideration when the handover starts, to make sure we have everything and be capable to maintain that ...
3
votes
3answers
126 views

Is there a difference between the quotes in `help',``help“, 'help' and ”help"?

Sometimes I find in the source code files comments have quotation marks like these ,notice the ` : `help' ``help" For example, these are comments from GNU cat source code file, cat.c: /* Plain ...
0
votes
5answers
651 views

Best linux editor for navigating source code [closed]

I like to download some source code off and on and to explore it. Usually I used Eclipse to work in a project if it takes a long time. But for quick source code explorations creating a project every ...
19
votes
7answers
880 views

In a legacy codebase, how do I quickly find out what is being used and what isn't?

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 ...
2
votes
2answers
232 views

Question about ownership [closed]

I am a salaried web developer and I am about to start a small development business on my own as a second income. I want to know if there is a best practice in regards to avoiding infringing on the ...
0
votes
1answer
534 views

JavaScript a good more complex examples [closed]

I don't know much about real JavaScript except some really minor things like using some JQuery, reading JavaScript Good Parts book, but what I would really need is some application that I could dig ...
3
votes
2answers
2k views

How do I encrypt the source code on the webserver?

I have a web application developed using Python, HTML, CSS & JavaScript. The customer installs it in any of their own Machine and uses it through their LAN. In short the customer sets up the ...
1
vote
5answers
125 views

Automatic sorting of class/module members and its possible impact on productivity and code quality

Recently I saw some possibilities of some IDEs (via plugins) to sort members of their classes/modules based on some criteria, sou you could have everything sorted automaticaly no matter where you ...
4
votes
5answers
524 views

Example bad code project to motivate refactoring / good design [closed]

This is sort of the opposite of Is there an open-source project that can be an example of well-written code?. I am teaching software engineering to undergraduates and I would like a blob of object ...
17
votes
10answers
1k views

Are chatty/humorous comments in source code acceptable or unprofessional? [duplicate]

Possible Duplicate: Humor in Documentation Throughout my professional career, I have often relied on chatty or humorous comments in source code (or source control commit messages) to help ...
5
votes
9answers
1k views

Reading source code to learn

As you develop as a programmer, software developer, or coder, IMHO, you begin to see different (best or worst) practices, different algorithms, and "more than one way to do it". Seeing this code can ...
8
votes
7answers
799 views

recommend C# source code for reading [closed]

I'm a C# programmer and I'm interested in reading well written C# code. I've read somewhere that reading good code is like reading a good book (and educational too!). My interests: Game programming ...
3
votes
1answer
280 views

Include all php files in one file and include that file in every page if we're using hiphop?

I understand that in normal php if we're including a file we're merging the source of it in the script and it would take longer for that page to be parsed/processed but if we're using HipHop shouldn't ...

1 2 3