Problem solving encompasses a number of techniques known as algorithms, heuristics, root cause analysis, etc.

learn more… | top users | synonyms

1
vote
6answers
2k views

Steps to solve or approach towards a solution

Please share your experience about how do you approach towards a solution or solve a problem. Include description about what ever tools you use,sources you follow,algorithms you choose etc. It would ...
10
votes
7answers
2k views

Best way to break down overwhelming code into manageable chunks?

I'm continually becoming overwhelmed by large projects, once they reach a certain level of complexity. Once I reach a certain point in a project, my progress slows to a crawl and I find myself ...
1
vote
11answers
519 views

Writing code vs Figuring out the answer to a problem?

Why is writing code when you encounter a tricky problem considered "bad" programming practice? And why is thinking a problem completely through on paper or in your head before you write code "good" ? ...
12
votes
10answers
622 views

Why does not thinking about a bug sometimes help you solve it?

Yesterday I spent a good part of the afternoon trying to fix a bug, which I thought to be trivial. I was going around in circles, not having a clue what was wrong. Rewriting large parts of the code. ...
6
votes
3answers
708 views

What are the great unsolved challenges (or recent promising breakthroughs) of enterprise programming? [closed]

My experience with programming came from a field, computational linguistics, where there LOTS of unsolved problems (computationally modeling natural language, or having effective statistical ...
12
votes
12answers
5k views

How would you refactor nested IF Statements? [duplicate]

I was cruising around the programming blogosphere when I happened upon this post about GOTO's: http://giuliozambon.blogspot.com/2010/12/programmers-tabu.html Here the writer talks about how "one ...
45
votes
15answers
4k views

Dealing with frustration when things don't work [closed]

You ever try to implement something simple but for some strange reason it doesn't work. So you try a possible solution but then something else doesn't work. You keep trying different workarounds but ...
28
votes
10answers
1k views

Where do you draw the line for your perfectionism?

Perfectionism may be good and bad when programming. When and where do you draw the line when you are problem solving? When do you decide when a solution is overkill, too general or simply too ...
1
vote
1answer
148 views

How would you tackle a pattern-finding program?

Just to be clear, I don't think this should be question better suited for stackoverflow.com simply because there's not a single answer but a wide range of possible solutions, making this question far ...
30
votes
9answers
814 views

Abstraction: The War between solving the problem and a general solution [closed]

As a programmer, I find myself in the dilemma where I want make my program as abstract and as general as possible. Doing so usually would allow me to reuse my code and have a more general solution ...
13
votes
10answers
781 views

Should I be worried if I solve a lot of my problems the same way?

I really enjoy programming games and puzzle creators/games. I find myself engineering a lot of these problems the same way and ultimately using similar technique to program them that I'm really ...
37
votes
12answers
4k views

What programming language generates fewest hard-to-find bugs? [closed]

What language, in your opinion, allows the average programmer to output features with the least amount of hard-to-find bugs? This is of course, a very broad question, and I'm interested in very broad ...
5
votes
5answers
1k views

What to do when you're faced with a problem that you can't solve quickly?

I'm a beginner learning Java and after reading the docs I'm trying to solve some of the problems at codingbat.com. Some I managed to solve pretty quickly in a matter of seconds but some not quite. The ...
12
votes
10answers
986 views

How to learn/become capable of thinking out of the box? [closed]

In every problem solving there's always people who think differently, who come with a 6th option when only 5 were suggested by others, who think "out of the box". Please tell how one can achieve such ...
2
votes
3answers
389 views

shadow simulation from buildings

is it possible to calculate shadow areas of buildings or simulate shadows of buildings in a city, using the heights of these buildings and the sun angle and azimuth? the basic light tracing concept ...
16
votes
14answers
786 views

When do you get your best ideas? [closed]

Are there certain activities that provide inspiration at unexpected times? One that I've noticed is when I'm mowing the lawn or shoveling snow - living in Minnesota it seems I'm always doing one or ...
4
votes
9answers
1k views

Algorithm development in jobs

I have a mathematics background but also consider career in some form of software development. In particular I'm interested in finding out what sort of industries are most likely to have more ...
5
votes
9answers
442 views

What tricks/tips do you use for innovation? [closed]

I am looking for a few ideas on how to change a highly conventional work culture to be more innovated in their approached to problem solving. I've come across this article and am looking for more ...
3
votes
4answers
2k views

Approach to a programming task

All, Given a problem statement, when I start of with the analysis and design, I tend to think too much about the various functionalities associated with the task (sometimes not even mentioned in the ...
5
votes
4answers
855 views

What is a good way to brainstorm algorithms on a computer? [closed]

I'm looking for something that allows me to work out an algorithm on a computer similar to how I would do it on a whiteboard. At work, I have a huge whiteboard that I can use for this, but at home, I ...
7
votes
11answers
629 views

What to do when all solutions are equally bad? [closed]

Sometimes, after having done a very thorough analysis/research, you can think of a number of solutions to a problem, but they all have considerable downsides. What do you do in such a situation? For ...
1
vote
3answers
125 views

How do you deal when an error occurs on 1 instance of your website/program/app?

I've had a couple of times in the time I've working, moments when I get an error ocurring in just 1 computer and it often takes me hours or days to figure out because it is (or at least seems) an ...
12
votes
14answers
3k views

How to teach programming a person who completed CS studies but for 5 years was working in other profession?

I have a colleague who want to go back to programming after 5 years of doing something else. Five year ago he was working with C++ / linux, delphi, and a lot with mSQL . He asked me to help him to go ...
8
votes
7answers
804 views

Does one's native spoken language affect quality of code?

There is a school of thought in linguistics that problem solving is very much tied to the syntax, semantics, grammar, and flexibility of one's own native spoken language. Working with various ...
5
votes
5answers
3k views

Allow Administrator users to login as other users

Do you think it's a good practice to implement a possibilty to allow an administrator user to login in as another user, by-passing password? This could by implemented by a master password or a ...