It's not this simple. Failure can be the result of too much planning and research as well as too little. Programmers in particular may be more prone to planning too much rather than doing too much but it's possible to overcorrect. The general advice to try something and move forward when you're stuck in analysis paralysis is useful and often good but it's also true that plenty of people put plenty of time and effort into things that ultimately were a waste of time and could probably have been avoided with a bit more planning or research up front.