Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

do you have to be good mathamatics to learn programming

do i have to learn maths to be great of programming

1 Answer

This question was asked only a week or so ago in another thread, and I'll reply with most of what I (and others) said in response.

The short answer is both yes and no. It's important to distinguish between basic math and logic, and more advanced concepts (algorithms, optimizing large datasets, etc).

Basic math - more importantly, strong logic - is incredibly important for any sort of programming. It's a gross oversimplification, but you could say that all logic in applications is really just a long chain of "if/then" statements - so being able to approach things logically and build efficiently is very important.

But the more advanced maths - algorithms, for example - aren't required for most coding. In fact, you could rebuild a basic version of 15 of the top 20 highest-traffic websites without any advanced math. For example, you could build a basic version of Team Treehouse, Reddit, or even early Facebook without (too) advanced math (again, oversimplification because some of these sites DO use advanced algorithms to deal with huge amounts of traffic and data - but when they first launched, they didn't need to). Basic front-end web development (and/or design), especially if you're freelancer working for individuals or SMB (small-midsize businesses) tend to have almost no advanced math.

So, no - there's a lot you can do in the web world without needing to know advanced math. However, expect to hone/use your skills in logic and problem-solving on a daily basis.

On a more abstract level:

Regardless, you're still going to run into situations where strong logic can make or break your app; this isn't particularly difficult in itself, just requires you to have a strong understanding of core principles. Some others have said that graphic and UI/X design doesn't have any math in it - but that's not at all true. Even if we don't realize it, most of the successful logos, user interfaces, & apps have a significant amount of calculated (either implicitly or explicitly) logic and math in them. Also realize that the typical approach to math in school/education is very different to how we use math - even algorithms - in real-world applications. Some of the basic problem-solving techniques are the same, but that's about it. So don't be afraid to jump into programming just because you didn't do well in math in school.

Thank you