25,396 reputation
678118
bio website
location New York, NY
age 31
visits member for 4 years, 2 months
seen Nov 13 at 23:32

Full-time Internet. Gamer. Developer @ Stack Exchange.

Formerly a community manager and elected moderator on Stack Overflow/Programmers Stack Exchange.

Email me and tell me something interesting: anna@stackexchange.com.


Sep
22
comment Is rotating the lead developer a good or bad idea?
@AdrienBe You'd still need to transfer info between them. Unless they're leading at the same time all the time (which defeats the purpose), you're going to have to take this into account. You might also alienate other devs on the team who don't get to lead at all and may feel left out.
Sep
12
comment How to signal that a method chain should not continue?
The point of method chaining is that the result is always valid and can be acted on by the next method call. There shouldn't be such a thing as an invalid value. Can you expand on your use case? What are you actually trying to accomplish? Method chaining might be the wrong approach.
Apr
17
comment How do you keep your basic skills from atrophy?
@JohnGaughan Looks about right. I updated my post. Thanks!
Jan
30
comment How do you unit test private methods?
@TallGuy Allow me to distill my answer here to its core point. The answer to "how does one unit test private methods?" is "One doesn't."
Jan
21
comment (Why) is it important that a unit test not test dependencies?
@Chris I think I'd test them separately. Having tests for SomeClass and MyClass would allow you to quickly pinpoint where a problem is if something fails. If you just had MyClass tests that implicitly validated SomeClass, you could spend time debugging MyClass in case of a failure when the fault wasn't there in the first place.
Nov
8
comment Testing my model for hybrid scheduling in Embedded Systems
While there is a recommendation aspect to this question, I think there's also a stronger core ("how can I model X") that trumps it.
Aug
28
comment Why do some programmers hate the UI part of the development?
@ZanLynx I was talking about UI implementation. Stuff like arranging buttons on the screen, wiring up events to them, etc.
Mar
21
comment Why is cleverness considered harmful in programming by some people?
@WarrenP Yeah, there's a good amount of subjectivity here. I've had the "we can't use language feature X because then other developers will have to learn about language feature X" conversation and it's not fun. The horrifyingly bad "clever" solutions are more in the "you know it when you see it" area. DailyWTF has a good library of those by now. :)
Feb
8
comment Criticizing your former employer in an interview
I would turn that around into what you value. Instead of "this code is TERRIBLE. 664 lines! what idiot wrote that?" say something like "I focus on writing simple code and small functions that are easy to maintain and understand."
Nov
17
comment Why is cleverness considered harmful in programming by some people?
@Nate Not conflating so much as making a deliberate argument that the bad kind of "clever" typically leads to unnecessary complexity and/or confusion. (Since the question was framed from the "why is it harmful" standpoint.)
Nov
14
comment Bluetooth push application
@MichaelT Yes, it does have to be set up at first.
Nov
14
comment Bluetooth push application
Pretty sure you always have to pair, but pairing can be automatic when the device is within range (my phone pairs to my car automatically, for example).
Oct
1
comment Scrum - real life example?
Welcome to the site! It might be better if you ask specific questions about the aspects of scrum that you're having trouble with. Then we can give specific advice that addresses those.
Sep
22
comment What do ptLineDist and relativeCCW do?
Did you click on the methods and read the (slightly more) detailed docs?
Sep
18
comment Legally, can I re reuse code for different customers?
Honestly, your answer just comes off flippant. It reads like you're suggesting the OP just fakes his way around whatever rules are in place, especially when you say "It's just a game so don't take it too seriously". On the contrary, legal matters (no matter how inane) should be taken seriously. If nothing else, we all like to stay employed, right?
Aug
29
comment Where do you go to read good examples of source code?
@Cris I don't disagree, but I will note that there's a lot to be learned from reading bad code as well. Arguably, reading and following bad code is even tougher than diving into a properly organized project. (And this is before we get into trying to figure out what "good" code is. :))
Jul
6
comment Programming SOLID Principles
Can you summarize the most useful parts of the article here? No need to copy it verbatim, but just some key points would be great in case the link ever goes dead.
Jun
20
comment What's the term for re-implementing an old API in terms of a newer API
@psr I went with a general diagram. Doesn't terribly matter what the interface is. It can be borrowed from API v1.0 or not.
Jun
20
comment What's the term for re-implementing an old API in terms of a newer API
@dodgy_coder This'd be the typical approach, but the principle is the same. Normally, you wouldn't be able to modify API v1.0's source, so you'd create a separate adapter. All that really matters, though, is that your code calls methods in a class you control and can update. This also sets you up for moving to v1.2, 1.5, 2.0, whatever. :)
Jun
20
comment What's the term for re-implementing an old API in terms of a newer API
@YannisRizos The timestamps are almost on my side. :P