Top "Code-reuse" questions

The use of existing software, or software knowledge, to build new software

What is the purpose of Android's <merge> tag in XML layouts?

I've read Romain Guy's post on the <merge /> tag, but I still don't understand how it's useful. Is …

android android-layout include code-reuse
Add rounded corners to all UIImageViews

I would like to add some rounded corners to all of the UIImageViews in my project. I have already got …

ios subclass code-reuse objective-c-category
How do you make code reusable?

Any code can be reused in a way or an other, at least if you modify the code. Random code …

code-reuse
How would you implement a "trait" design-pattern in C#?

I know the feature doesn't exist in C#, but PHP recently added a feature called Traits which I thought was …

c# design-patterns traits code-reuse default-interface-member
How can I write reusable Javascript?

I've started to wrap my functions inside of Objects, e.g.: var Search = { carSearch: function(color) { }, peopleSearch: function(name) { }, ... } This …

javascript code-reuse
How do I structure my HTML for good code reuse and maintenance?

I have a limited background in coding native apps using languages like C++, C, and Java, but now I'm trying …

html code-reuse maintenance
Split one big XAML in number of Sub-XAML files

In my WPF4 Desktop-based application there is a big block with sidebar menu that repeats in each window and takes …

wpf xaml user-controls code-reuse resourcedictionary
Where shall I put my utilities classes in a ASP.NET MVC3 application?

I am developing a web application in ASP.NET MVC3 with C# and Razor. I need to create an utility …

asp.net-mvc-3 class-library code-reuse utility-method
Specflow and reusing steps from another feature

I am trying to learn specflow and right now. Currently I have 2 feature files. In the second feature file, I …

code-reuse specflow