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 not deleted user 134583

Questions about `interface` related design considerations, and also "programming to the interface instead of the implementation"

0 votes

Java best practice Interface - subclasses and constants

Why not in a static Constant class? I have seen popular framework like SWT putting lot of constants in a constant class if the usage is widespread. And even in the case where the usage is not widespre …
InformedA's user avatar
  • 3,021
12 votes

Programming for future use of interfaces

From a software engineering perspective, I believe the proper solution for this kind of problems is in the builder pattern. This is definitely a link from 'guru' authors for your colleague http://en.w …
InformedA's user avatar
  • 3,021
0 votes

UML Class Diagram: Abstract or Interface?

I would use interfaces instead. … Is it better to just use interfaces and then when the code base is stable, you refactor and common up the same functionalities in an abstract class. …
InformedA's user avatar
  • 3,021