28

Do you think that only the programming pratice will help you to improve your logical programming skill or do you train your brain with puzzle games, trying imagine how universe works, playing instruments and so on?

Devoting more time with programming, will do you get logical programming skills more fast?

Maniero
  • 10,826
  • 14
  • 80
  • 133
killown
  • 1,466
  • 3
  • 15
  • 18

7 Answers7

23

I think full-time programming practices my logical skills quite enough, and they need rest after work. Doing something else such as practicing motoric skills by playing musical instruments is good to the brain.

Joonas Pulakka
  • 23,534
  • 9
  • 64
  • 93
11

Yes programming will help, but any sort of logic/problem solving will help improve your programming skills. For example taking a formal course in logic, or solving Sudoku puzzles. There are some great websites out there with programming puzzles to try, look for project Euler for starters

Martijn Verburg
  • 22,006
  • 1
  • 49
  • 81
5

If you want to improve your "logical programming skills" in a more profound way, it's important to have at least one or two courses on... logic. Something like the lecture notes by Stephen Cook is nice for starting learning proposition and first order logic. The textbook Logic in Computer Science: Modelling and Reasoning about Systems by Huth and Ryan is also loved by many.

Also developing an algorithmic way of thinking is also extremely important. Cook told me that the ability to think algorithmically is the key difference between a computer scientist and a mathematician. There are many good books on algorithms. You just have to choose the one that suits you most!

D. L.
  • 250
  • 1
  • 5
3

Like @Joonas said doing other activities helps you concentrate better when you have to...

I run every other morning and read books whenver I can

sebagomez
  • 432
  • 4
  • 11
2

I read this: What is the single most effective thing you did to improve your programming skills?

More seriously, I guess you can try:

  • to train your brain and solve puzzles and other games (as suggested by others),
  • to learn logic theory, and get back to the hard-core maths that comes with it.

But mostly, i think you should:

  1. have a look at an algorithm bank and hand-pick a few,
  2. try to implement solutions for the problems they address,
  3. then look at the reference implementations,
  4. publish a paper if you beat them :)

The NIST Dictionary of Algorithms and Data Structures should keep you busy for a while...

Then find a pet project that involves solving something.

haylem
  • 28,856
  • 10
  • 103
  • 119
2

General problem solving, whether this be puzzles, watching House, reading a mystery novel or helping a neighbor with her car, any of these can be helpful in gaining ideas for how to build solutions. Ideas like being greedy, divide and conquer, dynamic programming, and creating data structures just a few examples as there are probably dozens of these kinds of ideas. How well they work is of course another story but sometimes just getting these kinds of ideas can be a great challenge.

JB King
  • 16,795
  • 1
  • 40
  • 76
1

I've found that, through learning about programming and software development (not necessarily formally), I've learned to break down problems in to smaller and smaller chunks more effectively.

I think you can improve that particular skill by using it outside of the software development field; by trying to break down problems you come across in everyday life. Trying to understand how something new works (like an engine or a piece of electronics) using this technique is particularly good.

Andy Hunt
  • 5,996
  • 1
  • 33
  • 56