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
22 votes
10 answers
6k views

I've often seen such comments be used: function foo() { ... } // foo while (...) { ... } // while if (...) { ... } // if and sometimes even as far as if (condition) { ... } // if (...
gablin's user avatar
  • 17.6k
33 votes
14 answers
17k views

How do people deal with profanity in source code and VCS comments. Keep or delete? What about soft-expletives like WTF or Arrgggh? Is unprofessional, offensive or something to be shrugged off?
sal's user avatar
  • 2,078
0 votes
2 answers
524 views

I'm looking for considerations of the questions "Can code be beautiful?" and "What makes code beautiful?" Examples would include: This academic paper: Obfuscation, Weird Languages, and Code ...
dilettante.coder's user avatar
24 votes
16 answers
3k views

This is a question that was put to me many years ago as a gradute in a job interview and it's nagged at my brain now and again and I've never really found a good answer that satisfied me. The ...
12 votes
5 answers
45k views

I am a student interested in working on Memory Management, particularly the page replacement component of the linux kernel. What are the different guides that can help me to begin understanding the ...
user avatar
30 votes
2 answers
78k views

Is the code written in Japanese? Are filenames in English? What about like a C preprocessor? Is that still in English? Are comments in Japanese? Examples would be nice too.
Zeno's user avatar
  • 409
12 votes
2 answers
3k views

Recently I came across two sites that help programmers sell source code - binpress and codecanyon. Anyone have experience/success with sites like these? Would you use them again? What was good about ...
user187809's user avatar
2 votes
4 answers
9k views

I'm in the process of proposing a new standard directory layout that will be used across all the projects in our organization. Projects can have compiled source code, setup scripts, build scripts, ...
splattered bits's user avatar
5 votes
6 answers
396 views

As programmers, you have certain curtains to hide behind with your code. With PHP all of your code is server side preprocessed, so this never see's the light of day as far as the user is concerned. If ...
benhowdle89's user avatar
  • 1,433
56 votes
5 answers
39k views

I have heard a few people say that one of the best ways to improve your coding ability is to read others code and understand it. My question, as a relatively new programmer, where do I go to find ...
Jesse McCulloch's user avatar
14 votes
9 answers
4k views

Is bringing printed code or code on a USB to an interview a good idea? If so, what kind of code should I bring. Should I avoid big projects and just show small snippets which show off my skills?
Anthony's user avatar
  • 605
22 votes
11 answers
14k views

I have made a couple iPhone applications for a customer and was asked today to hand over the source code so that they could do the maintenance if this should be required. Until now, no code issues ...
egil's user avatar
  • 485
14 votes
7 answers
2k views

While I've never delivered anything using Smalltalk, my brief time playing with it has definitely left its mark. The only way to describe the experience is MVC the way it was meant to be. ...
Berin Loritsch's user avatar
3 votes
1 answer
2k views

Few languages are as restrictive as Java with file naming standards and project structure. In that language, the file name must match the public class declared in the file, and the file must live in ...
Berin Loritsch's user avatar
25 votes
16 answers
5k views

What do you do to understand some code that you didn't write? Or code that you wrote long time ago and don't remember what it does anymore. Do you have some technique that you go about? Do you ...
gablin's user avatar
  • 17.6k
6 votes
4 answers
557 views

Suppose I have some code void some_block(void) { some_statement_1(); some_statement_2(); some_statement_3(); } Now I wish to out-comment statement #2, but here I never can find a way ...
Bjarke Freund-Hansen's user avatar
91 votes
17 answers
7k views

So your client asks you to write some code, so you do. He then changes the specs on you, as expected, and you diligently implement his new features like a good little lad. Except... the new features ...
13 votes
18 answers
8k views

Previously I was searching for a good TimeLine control for a WPF project. I found an answer in Here which direct me to this CodePlex project. Now I want to change code to feed my culture needs. But ...
1 vote
7 answers
290 views

For blackberry GUI developement. I am using the name convention like backButtonField and some of my colleagues are using btnBack. But sometimes I stuck with the names like loginVerticalFieldManager ...
Vivart's user avatar
  • 369
35 votes
9 answers
20k views

I saw this asked in the SO Tavern, so I'm posting the question here. I thought it an interesting question. (Of course it doesn't belong on SO, but I think it's OK here.) Do you add periods (or, as ...
Moshe's user avatar
  • 5,052
22 votes
35 answers
30k views

I'm experimenting with a new platform and I'm trying to write a program that deals with strings that are no longer than 60 characters and I'd like to populate the data store with some famous or well-...
9 votes
11 answers
4k views

If a software company loses the source code to one of the products they are selling, how serious would that be, in terms you could explain to a layman? Would the term "gross negligence" be too strong?...
JoelFan's user avatar
  • 7,151
26 votes
12 answers
5k views

Reading SQLite source code is IMO mission impossible. Yet it is a usable piece of quite complex software (it's a full-blown embedded database after all) that can be downloaded, compiled and used from ...
sharptooth's user avatar
  • 4,387
6 votes
6 answers
650 views

In a book I'm reading there is a chapter on documentation for your code. The book is about PHP and described some easy methods but also going for some complicated and time consuming methods (xml, xsl) ...
Centurion's user avatar
  • 201
144 votes
31 answers
160k views

What tools and techniques do you use for exploring and learning an unknown code base? I am thinking of tools like grep, ctags, unit-tests, functional test, class-diagram generators, call graphs, ...

1
4 5
6
7 8
11