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 39757

Java is a high-level, platform-independent, object-oriented programming language originally developed by Sun Microsystems. Java is currently owned by Oracle, which purchased Sun in 2010.

13 votes
Accepted

How to create a manager class without global variables nor singletons?

I suggest you look into using a dependency injection framework to achieve inversion of control. Your "Manager" would not be a traditional Singleton, but you would only create one through the framewo …
smp7d's user avatar
  • 4,221
11 votes
3 answers
6k views

Modern Java implementation of Blackboard Pattern?

Is there room for a practical modern application in Java of the Blackboard Pattern detailed in "The Pragmatic Programmer"? … What is the general consensus on this pattern in the present software community (especially Java)? Though the idea is intriguing, I have a feeling that this portion of the book may be outdated. …
smp7d's user avatar
  • 4,221
7 votes

How can I feel more confident about my programming skills?

In development it seems that the paradox "the more you know, the more you know you don't know" holds true. If you are a thoughtful, honest person, you will need to accept this fact and learn to deal …
3 votes

Is it wise to ask about design decisions made on a product during an interview?

answer: It is a good idea to ask about architectural decision making. But you need to be careful how you ask such questions. Simply put: You should ask "How did you go about choosing technology X ove …
smp7d's user avatar
  • 4,221
3 votes

Why can static methods only use static data?

Even if there were instance(s), there would be no way for Java to guarantee that you are operating on the instance you are expecting when you call a static method. …
smp7d's user avatar
  • 4,221
0 votes

Supporting and testing multiple versions of a software library in a Maven project

If it applies, you can create a branch in source control for each version and instruct your CI tool to build/test all active branch heads. This may be problematic if you have an active branch that y …
smp7d's user avatar
  • 4,221