user avatar
user avatar
user avatar
codebreaker
  • Member for 8 years, 7 months
  • Last seen more than 1 year ago
45 votes
6 answers
7k views

How necessary is it to follow defensive programming practices for code that will never be made publicly available?

33 votes
10 answers
9k views

Is it okay to have objects that cast themselves, even if it pollutes the API of their subclasses?

17 votes
6 answers
38k views

Is it okay to go against all-caps naming for enums to make their String representation simpler?

16 votes
5 answers
742 views

How to make a datatype for something that represents either itself or two other things

13 votes
5 answers
8k views

Is it strange for a Builder object to have getter methods?

7 votes
2 answers
5k views

What's the Java convention for names with a sequence of numbers, like "ISO 8859-1"?

3 votes
4 answers
639 views

Does a full duplex communication object conflict with single responsibility?

3 votes
1 answer
818 views

An alternative to having fields that might not be used in a class

2 votes
1 answer
4k views

Several enum classes that declare constants with the same names

1 vote
3 answers
1k views

Java Serialization for long-ish-term storage

1 vote
3 answers
5k views

Checking for the presence of optional properties of an object

-1 votes
2 answers
290 views

What Java collection is most efficient if I need it to hold one element most of the time, and occasionally more?