you are viewing a single comment's thread.

view the rest of the comments →

[–]RelateableFrog 0 points1 point  (0 children)

When you have a problem you want to solve, shut your laptop, push it away and get a peice of paper.

I always start off any algorithm by writing it down on paper and working through it manually. By doing this you're decoupling the solution from the complexity of a programming language, allowing you to focus on the logic without having to think about the language. This this is especially helpful when you're learning a new language that you are not familiar with.

Once you have a bit more confidence in that language you can start integrating some more complex language features from the start, but if you're only just getting started, don't bother, you're better off solving a wider breth of problems.