The tag has no wiki summary.

learn more… | top users | synonyms (1)

3
votes
2answers
1k 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
142 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 ...
2
votes
4answers
205 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
183 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
3k 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
428 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
924 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 ...
8
votes
4answers
423 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
4k 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 ...
4
votes
11answers
631 views

what do you do to keep learning? [duplicate]

After the school i think my learning process has been slow(not yet stopped), so give me some advice which will be help me to keep learning. UPDATE: I am a web developer in PHP. I am working in PHP ...
6
votes
10answers
379 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
573 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 ...
26
votes
10answers
2k views

What can I do if my boss is asking about my program every hour? [closed]

Here is the situation: You are working on your complex, hi-tech code, and your boss keeps on asking if it's finished. But the project started just yesterday and you have two weeks to go. What can I ...
18
votes
18answers
3k views

As a programmer, can you work with noise? [closed]

I'm here to post this question and know more about your thoughts on it: Can you work with noise? Sometimes, when you're developing something really tricky, your deadline is getting close, and ...
62
votes
60answers
14k 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
670 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
346 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
22answers
2k views

How do I constructively and professionally deal with anger when I'm on the job? [closed]

What do you do when something makes you angry while programming? I usually Slap the mouse Hard on my desk and go get a coffee or anything, just to calm down
21
votes
18answers
2k 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 ...