Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 131624

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

5 votes
Accepted

Is the following method to compare source codes or work effort reliable?

The basic idea of this method is to count the number of methods instead of the code-lines. Well here's your problem. The reason LOC counting doesn't work is because a programmer can spend day …
candied_orange's user avatar
22 votes
Accepted

How to deal with large source codes?

For example, a simple "if" can occupy a whole screen (more or less 30 to 40 lines). I do not need to mess with it anymore, but it's not a function, it's not a class, just a part of the code that ha …
candied_orange's user avatar
0 votes

How to store legacy source texts snapshots with FTS (full text search) all through their his...

The question is all the prior snapshots. git grep pattern $(git rev-list d70e..HEAD) Introduction to git grep runs on Windows Git for Windows If that's not enough I humbly suggest you ne …
candied_orange's user avatar
5 votes
Accepted

How useful is line-by-line code re-use?

Code reuse and Lines of Code (LoC) counting are different obsessions. Both are things to be sensitive to. Neither should be the primary concern. Good names, readability, semantics, organization, ab …
candied_orange's user avatar
7 votes

Fighting the half-life of code

Choose a popular programming language The more people that know the language the better the odds someone who wishes to replicate your work will know the language. By popular I mean new graduates in yo …
candied_orange's user avatar
10 votes

If taking over code of a third party, what are the delivarables?

You're being offered a release with source. What you're asking for is the source code repository. No modern developer would want to be without the history in the repository. The question is, what …
candied_orange's user avatar
71 votes

What are the benefits of multi-file programming?

There are a lot of technical reasons behind using multiple files when writing large complex systems. All of them are meaningless in the face of the best reason to use multiple files: Readability. Wh …
candied_orange's user avatar
6 votes
Accepted

Overhead of using big singleton with all files includes

Both of these are a huge violation of the interface segregation principle. It also makes your dependencies implicit rather then explicit. This comes at a cost you wont notice until you try to make cha …
candied_orange's user avatar
1 vote

Handling a Refactoring Project with Limited Access to Source Code

This is not a refactoring. With no access to source, no tests, and nothing indicating the point of the refactor, what you’re really doing is called reverse engineering. Rather than worry about how it …
candied_orange's user avatar