18,461 reputation
773125
bio website nickchaves.com
location United States
age 32
visits member for 4 years, 3 months
seen Oct 21 at 20:33

Web software engineer.

Server (Java, PHP) and UI (JS, CSS)

Designer and photographer on the side.

I'm a serial user of the double __ space after a period — even though people tell me it's obsolete in the computer-world, I can't shake the habit from my 7th grade typing class.

profile for NickC on Stack Exchange, a network of free, community-driven Q&A sites


Jul
30
comment Default vs Impl when implementing interfaces in Java
Also used extensively in Guava.
Jul
29
comment Default vs Impl when implementing interfaces in Java
@user61852 Ok, let me be more specific. I'm leaving some judgment up to the reader. I realize that the precise number of implementations cannot be guaranteed in design the design phase, but I think most programmers can make a good judgment. If the type of object feels, by nature, to be single-classed, then I wouldn't use an interface+class pair. I was trained early on to always use interfaces; I think that advice is flawed. Second, based on that initial principle, the reader can assume: if they have an interface, they intend to have more two or more implementations. That is all I am saying.
Jul
29
comment Default vs Impl when implementing interfaces in Java
@user61852 I think you are picking at semantics here. I'm talking about intended design and the eventual state, respectively to your complaints. No need to be pedantic; if this advice doesn't ring true for you, don't take it.
Jul
29
comment Default vs Impl when implementing interfaces in Java
@RenniePet Good point, thanks. I meant "implement", so I've corrected that and added an example.
Jul
29
revised Default vs Impl when implementing interfaces in Java
Explaining the last sentence better, I think.
Jul
26
awarded  Guru
Jul
25
awarded  Favorite Question
Jun
18
awarded  Good Question
Jun
13
awarded  Enlightened
Jun
13
awarded  Nice Answer
May
3
awarded  Popular Question
Apr
29
awarded  Famous Question
Apr
28
awarded  Nice Answer
Apr
15
awarded  Nice Answer
Apr
11
awarded  Nice Answer
Mar
25
awarded  Good Answer
Mar
21
awarded  Enlightened
Mar
21
awarded  Nice Answer
Mar
4
awarded  Good Answer
Feb
26
awarded  Constituent