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 for search codebase
Search options questions only not deleted score>= 2
5 votes
12 answers
13k views

How do you search your codebase? [closed]

I am using egrep to search our codebase, but at around 300MB of source code that starts to get a little slow. How do you search your codebase? …
Petko M's user avatar
  • 419
37 votes
9 answers
6k views

Real world pitfalls of introducing F# into a large codebase and engineering team [closed]

I'm CTO of a software firm with a large existing codebase (all C#) and a sizable engineering team. … Search various software engineer resume databases for "F#", way less than 1% of resumes contain the keyword. 3) Community support as of now (Dec 2010) is less available. …
19 votes
5 answers
1k views

How do you efficiently keep your tests working as you redesign?

A well-tested codebase has a number of benefits, but testing certain aspects of the system results in a codebase that is resistant to some types of change. … written to expect a particular block of text as output for some input parameters, or to search for specific sections in a block. …
Alex Feinman's user avatar
  • 5,792
37 votes
7 answers
18k views

Why is using 'final' on a class really so bad?

The next time I come to it I would not have to re-search the codebase to see if it has children. Thus saving time during refactorings. …
JW01's user avatar
  • 3,579
70 votes
20 answers
26k views

Using single characters for variable names in loops/exceptions [duplicate]

I've had a couple of discussions with a co-worker about the use of single letter variable names in certain circumstances inside our codebase, at which we both disagree. … If you wanted to search the solution for exceptions, you'd find lots of undesired instances of e. …
122 votes
8 answers
51k views

How exactly should unit tests be written without mocking extensively?

This means, that: They should not break by any unrelated code change elsewhere in the codebase. … On the other hand, a quick Google search about mocking reveals tons of articles that claim that "mocking is a code smell" and should mostly (though not completely) be avoided. …
Alex Lomia's user avatar
  • 1,321
4 votes
1 answer
1k views

Factory pattern versus dynamic class instantiation in PHP

My goal is to make it possible for a developer to change the behavior of any component without having to modify the "core" codebase at all. … I'm using an extendable uniform resource locator to allow developers to override or add search paths for resources (assets, configuration, schema, etc). …
alexw's user avatar
  • 339
3 votes
5 answers
6k views

What are the benefits and drawback of documentation vs tutorials vs video tutorials [closed]

Some examples of types of learning you could consider: When starting to integrate a new SDK inside an existing codebase When learning a new framework without having to integrate legacy code When digging … Therefore such a resource is useful for quick learning if you don't have legacy code around, but less so if you have to search for the best-fit to the code you already have. …
Cat's user avatar
  • 147
19 votes
7 answers
8k views

How do you organize your MVC framework while supporting modules/plugins? [closed]

There are a two main codebase structures that I have seen when it comes to MVC frameworks. The problem is that they both seem to have an organisational bug that goes with them. …
Xeoncross's user avatar
  • 1,213
4 votes
2 answers
692 views

How to model classes that can be extendable?

I have recently inherited a codebase which has a weird problem and I am trying to search for an extensible solution that can solve my issue. …
BoredToDeath's user avatar
8 votes
1 answer
783 views

What to do with the "frontend" in a microservices based environment?

Search, CMS, Checkout etc with each team having a product owner, tech lead and scrum master. … teams have technical leads there is nobody fulfilling this role for the frontend We were wondering how other people are handling this, and have discussed a few approaches such as splitting the frontend codebase
Sutty1000's user avatar
  • 1,399
8 votes
4 answers
504 views

Bug clustering in source code

A simple search reveals multiple results, for example: 1, 2, 3, 4, 5. However, all the evidence cited is anecdotal and I could not find any concrete data to back this up. … when there is none (even uniform distribution of bugs will produce clusters, and it might be easier to remember when you have to fix 10 bugs in one place rather than 10 unrelated things all over the codebase
dtldarek's user avatar
  • 189
13 votes
2 answers
5k views

What is the best approach for inline code comments?

We are doing some refactoring to a 20 years old legacy codebase, and I'm having a discussion with my colleague about the comments format in the code (plsql, java). … Because without the change dates it's impossible to know when a change was introduced without open the SCM tool and search in the long object history. because the author is very important, a change of …
Diego Alvarez's user avatar
5 votes
1 answer
555 views

How to avoid reinventing the wheel when using complex frameworks?

TextBlock Text="{Binding ItemName}"/> </DataTemplate> </ComboBox.ItemTemplate/> </ComboBox> when I accidentally stumbled upon DisplayMemberPath during a marginally related StackOverflow search … , because these are about learning a codebase that you have to understand/work on/modify/improve, also assuming that you have access to the code itself. …
marczellm's user avatar
  • 355
6 votes
1 answer
977 views

What are the practical examples of code exploration techniques?

Are there any practical implementations of dedicated machine (would it be virtual or physical), that digs into your codebase in search of errors? How do you treat test coverage of such tools? …
Ilya Ivanov's user avatar

15 30 50 per page