It's often great for finding answers but I've sworn off asking there. I was a newbie asking a non-technical question. When I checked on it next, a random person had edited my post and someone else closed it for being too vague.
Yeah, it can be a little hard asking the right question. Especially non technical ones. I've found that Stack Overflow really wants to focus on questions that can be given verbose answers so to speak.
You can always try the programmers Stack Exchange, it is newer than the Stack Overflow and they probably want the interest. If it isn't programming related you are likely to find an Exchange there that will provide for your question.
Being a newbie in any situation can be a little hard and I think that sometime people just need a friendly reminder (including myself mind you) that just because you think the answer is obvious does not mean it is, and genuine help is often much more appreciated over sarcasm.
I've been looking for resources that teach you how to think like a programmer. My textbook is very syntax-centric but there's more to solving problems than knowing how to write loops and conditions.
It all started with an interview I read where this guy described how he used Scala to write puzzle solvers for problems like the Tower of Hanoi. People often serve up responses to this like Project Euler, but I want a curriculum that shows me how to problem solve in a methodical way, not just give me problems to solve. The interviewee talks about sometimes using 'genetic algorithms' to converge on a solution.
I've recently stumbled upon an aptly named book titled, How to Think Like a Programmer, but I'm always looking for more information, particularly in C++ or in a language-agnostic format.
Well, I will not be able to provide too much help on the answering front, I mainly deal in C#. Clean Coders and Uncle Bob is someone and a group you might want to look into. I'm not sure if that helps answer your question.
However on the question front I can give my opinion. Your question (if that is how you worded it in SO) is a little confusing and not so straight forward. It is really hard to think about what you are asking for an answer for. I get the general gist of it though.
Would I be correct in saying that this question boils down to: "What learning materials are there for how to think and code methodically for OOP languages?"
Sorry, I know it sounds confusing. Here's a snippet from the book I was talking about:
Suppose you are given a series of coordinates in three-dimensional space, and you must find the coordinates that are closest to each other. If you don't immediately know how to solve this, there are different ways you could reduce the problem to seek a solution. For example, hat if the coordinates are in two-dimensional space, instead of three-dimensional space? If that doesn't help, what if the points lie along a single line so that the coordinates are just individual numbers (C++ doubles, let's say)? Now the question essentially becomes, in a list of numbers, find the two numbers with the minimum absolute difference.
These reductions simplify the problem in different ways. The first reduction eliminates the need to compute the distance between three-dimensional points. Maybe we don’t know how to do that yet, but until we figure that out, we can still make progress toward a solution. The second reduction, by contrast, focuses almost entirely on computing the distance between three-dimensional points but eliminates the problem of finding a minimal value in an arbitrary-sized series of values.
These strategies have been really helpful in figuring out how to solve problems for me and I'd like to find more of them.
2
u/lithedreamer Dec 31 '14
It's often great for finding answers but I've sworn off asking there. I was a newbie asking a non-technical question. When I checked on it next, a random person had edited my post and someone else closed it for being too vague.