The tag has no usage guidance.

learn more… | top users | synonyms (1)

0
votes
3answers
129 views

Is unwanted behavior, while work is in progress, declarable as a “bug”?

This might be only a question of definition, but maybe there's a consensus? Given the situation, software Foobar Plus is under construction, we're not working on an update, but on the first release ...
0
votes
1answer
64 views

Is there an established pattern for associating a database entry with a Java class that executes on that data?

I have a behavior tree with different leaf nodes that execute tasks. When building out the tree relationship in the database I need an association between the leaf node entry and the Java class that ...
5
votes
2answers
2k views

Is context inheritance, as shown by Head First Design Patterns' Duck example, irrelevant to strategy pattern?

In Head First Design Patterns it teaches the strategy pattern by using a Duck example where different subclasses of Duck can be assigned a particular behavior at runtime. From my understanding the ...
0
votes
2answers
155 views

Memento with optional state?

EDIT: As pointed out by Steve Evers and pdr, I am not correctly implementing the Memento pattern, my design is actually State pattern. Menu Program I built a console-based menu program with multiple ...
3
votes
4answers
219 views

How to handle committed and merged code that has no tests?

When developing an application in a team not everyone on this team will be equally good developers. Some will be skilled in some things and some in others and some not at all. As a team working in an ...
4
votes
1answer
198 views

What is a “behavior rich object” and why would it be advantageous?

I am referring to the article Mocks aren't Stubs by Martin Fowler. When naming cases when he think "mockist" TDD will be advantageous, he said It's particularly worth trying if you are having ...
32
votes
8answers
4k views

Are developers more productive at night? [closed]

I personally stay awake late at night, coding and enjoying working on personal projects. My other colleagues also feel the same and like coding at night. However, it's not about being passionate about ...
5
votes
5answers
439 views

TDD: Where should I start?

I've read a lot about TDD and I've tried to develop using TDD without success ... I always stop staring at the screen... I've learned that I should not write tests for methods or class. I should ...
14
votes
8answers
958 views

How can you filter out irritable programmers in interviews? [closed]

So I've had a few situations now where programmers have passed the interview teams with flying colors, only to find when they arrive on scene, they demonstrate an extreme touchiness any time any ...
9
votes
4answers
439 views

Naming classes becomes debilitating

I'm not sure if this is an OCD trait or not, but I find that sometimes I get completely blocked unable to continue what I am doing when naming a class (or function, or namespace etc) that I believe is ...
4
votes
7answers
5k views

And if I ask the job interviewer for reasons to join the company? [closed]

In job interviews I am frequently asked if I know the company, explain why do I think I would be the best choice for this company, etc and I have never liked this kinds of questions. Using your ...
6
votes
10answers
386 views

What's the best documentation you produce and why?

I think it's safe to assume that for most programmers, producing documentation is not as fun as actually coding. I think it's also safe to assume that most good programmers recognize the need for ...
8
votes
8answers
632 views

Egoless programming, is it possible or even desirable [closed]

After reading this question; Why are so many programmers arrogant It does bring a related question to my mind. Is it possible to have egoless programming or is it even desirable? As a profession we ...
64
votes
60answers
15k views

How do you deal with people who ask you to fix their computer? [closed]

Because I'm a programmer, people constantly ask me to fix their computer. How do you handle this situation? Do you make exceptions for relatives, friends and coworkers? Do you charge people for it?
15
votes
6answers
729 views

How to handle egocentric programmers?

Let me explain this a little. In a previous job, I had a coworker that has a good reputation with the management. He always finished on time. And the bosses were happy with his progress so het got ...
15
votes
2answers
359 views

I found free software project whose executables are spreading a virus. What is the correct couse of action?

Today I found a GPLed project on SourceForge whose executables are spreading a virus. This fact has been pointed out several times in reviews of the project and the infected executable is still ...
22
votes
18answers
3k views

Staying alert and awake while coding [closed]

What methods do you use to stay awake and alert while working? Personally I drink coffee non stop throughout the day. But I've also heard of this thing called exercise that should help too. Does ...