I picked up Big Nerd Ranch - Objective C programming book. I have never tried to code before. Looking through the book and reading this forum. I see that actually doing the exercises are very very very crucial. My question is this. What type of strategy do I need to learn code? I know Rome wasn’t built in a day. Anything else that I can do besides sitting down and coding?

# Learning to code

**ibex10**#2

Practice, practice, practice.

Learn math and computer science.

[Become a competent programmer faster than you can imagine: pretty-function.org]

Practice, practice, practice.

Learn math and computer science.

[/quote]

I was looking at enrolling at the Harvard Edx cs50x computer science class. What type of math do I need to know? discrete math?

**ibex10**#4

Discrete math? Definitely, yes.

If you have the time and energy, I would also recommend:

- Language and compiler design;
- Computational complexity; and
- Linear Algebra, especially if you want to write code for computer graphics.