17,911 reputation
668120
bio website nickchaves.com
location United States
age 31
visits member for 3 years, 7 months
seen 9 hours ago

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


Oct
11
comment Is fewer lines of code always better?
@mouviciel For that matter, why not methodThree(b).methodTwo(a).methodOne(c,d);? Still one, still modular, more readable.
Oct
11
asked Is there a name for web applications that do most of the navigation on the client side?
Oct
8
awarded  Nice Answer
Sep
16
awarded  Yearling
Sep
6
awarded  Notable Question
Aug
23
awarded  Popular Question
Aug
13
awarded  Nice Question
Aug
8
answered Is it possible to escape the GPL by deriving the same work from multiple sources?
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