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


Sep
23
comment Reasons NOT to open source not-for-profit code?
@MasonWheeler The issue is for an organization with limited resources and unlimited ways to spend those resources, a "serious discussion of security" might not actually be warranted. I think it's nice to put "security" above all else, but reality is that it needs to be balanced with every business need. And of course, a good software engineer will be able to keep security high at any level of design, but that is where the discussion of limited resources comes into play. I couldn't in good conscience recommend opensourcing based on "you should have security figured out anyway".
Dec
16
comment Is there a name for web applications that do most of the navigation on the client side?
I've got 2 downvotes for this question, if anyone can guess or tell me why, I'd be grateful. Too easy, doesn't show research, off-topic, makes bad or wrong assumptions, annoying...? I asked this because I couldn't think of any way to Google for this question.
Nov
21
comment How do I get people to stop bikeshedding?
I hate to say it, but it sounds to me like this phenomenon is illustrating more of a problem with the codebase than with the newcomers.
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.
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.
Feb
26
comment Design Patterns for Javascript
@ErikReppen Thanks, and sorry, I may have been overly sensitive. I am quite experienced with JS, but your comment is fair. Having done quite a bit with Plain Old JS, I look for utilities that abstract the common motions, however, like everything it can be abused. The fact that it is created to act like other languages may encourage that abuse. I've seen organizations with large teams and lots of code go the class/module route, but I admit not without producing your readability complaint. And I can agree that composition is a good thing; would love to see that as an answer on this question.
Dec
16
comment Is jQuery an example of “god object” antipattern?
@RossPatterson Are you disagreeing? If you are, I'd encourage you to post your own answer. I think Laurent's is good, but I'm still undecided.
Dec
16
comment Is jQuery an example of “god object” antipattern?
But it returns a "jQuery" object which contains much of the jQuery API -- and, I think, would be the "God" object the OP is referring to.
Dec
12
comment Should the 12-String be in its own class and why?
Some part of me wonders whether the idea to model objects having strings with strings was a test, or just from someone with a punny sense of humor. Also, to answer your question about String[] vs. char[] maybe because you could tune the string up or down a half step to flats or sharps?
Nov
15
comment Is there such a concept as “pseudo implementation” in software development?
I think the term "mocking" pretty well fits what you are describing.
Sep
14
comment Can programmer certifications substitute for degree requirements
@Philip Actually it did a good job of training many of the engineers, and they would have been playing video games, not contributing to open source, instead. I think in every sense it was worth it, except maybe for those who didn't learn anything. Again, not seeing the problem here.
Sep
13
comment Can programmer certifications substitute for degree requirements
@suslik I did the SCJP cert. I did it because, in an initiative to train up his very young crew, my CTO offered bonuses to anyone who could pass it with a 80% or better score. I learned a lot of details about Java doing it, and that has served me well. "The Wrong Move"? Really? When I could have spent the time doing literally anything else?
Aug
29
comment Why don't inherited methods use child properties? (PHP)
@ButtleButkus I believe that when this original discussion about OOP/not-OOP got started (I didn't start it) it was about whether this specific example was OOP or not.
Aug
24
comment What makes for a good architect/manager/lead developer?
I can't help but feel like this list is very negatively oriented. This is like "protect me from bad stuff." What about positive impact?
Aug
22
comment Can a loosely typed language be considered true object oriented?
I don't think that really is the point, because that checking doesn't have anything to do with OOP. You can still cause bad casting at runtime in a "strictly" typed language, anyway.
Aug
21
comment Can a loosely typed language be considered true object oriented?
@delnan Again, thanks for the link. I've integrated it into the answer because I think you are right: it's worth educating on this wherever possible.
Aug
21
comment Can a loosely typed language be considered true object oriented?
@delnan Case in point: the OP said "loosely typed" and we generally know what is meant after a couple of mentions of which languages we're dealing with. English is full of words or phrases that require context. There are enough similarities between Java and C# or JavaScript, Python, PHP to make some generalizations. After all, I didn't expect my answer to hold up to research standards, I'm just trying to help a fellow programmer out.