r/AskComputerScience • u/[deleted] • Nov 05 '19
What math should a programmer who didn’t go to college learn?
Hey guys,
I am a front end developer and I never went to college so I want to try to learn as much math as possible on my own time (30min to an hour a day). Right now I only need basic algebra but I want to learn what’s necessary to get a software engineering role in say, 2 or 3 years.
What is the most important math you use day to day as a software engineer that I should focus on learning?
9
u/zanidor Nov 05 '19
One strategy is to just start writing the kind of code you want to be writing. If you get to a point you're saying "I really wish I knew X Math Thing", then go learn about X Math Thing.
Studying math is valuable / enjoyable / good mental exercise. However, don't hold off learning to build software until you lay some mythical mathematical foundation; I'd categorize this as procrastination in disguise. To be honest (and I say this as someone who loves math), the amount of pure math you need to know to be an effective software engineer is usually pretty minimal. A great SE skillset is heavy on communication, coordinating team effort, writing readable code, understanding best practices around testing, CI, deployments / rollbacks, etc.
If your goal is to laser focus on landing a software engineering job, I suggest books on SE and reading and writing lots of code as your first priorities. Learn the math you need as you go. (Knowing what a directed graph is will arguably get you like 80% of the way there...)
If you want to boost your math skills as a (good and noble) standalone goal and want something that dovetails well with SE, then I agree with other posts that discrete math and mathematical logic are both good areas depending on your interests.
Source: CS / Math double major, software engineer for 10+ years.
1
Nov 06 '19
Awesome, thanks for the advice! Luckily I work as a software developer, so I’m comfortable coding and that’s why I wanted to “expand” into new areas to try to boost my skill set. This definitely gave me some good insight and confirmed my suspicions, thanks :-)
1
2
u/TFWPKY_create Nov 05 '19
Technically algebra and calculus 1. But I took it with hardly any background. I wouldn't say it's easy, but it's a different kind of math. Idk how easy someone else would consider it to be jumping in. But I would think as long as you have the basics of algebra down (forming equations and solving them), then the learning curve shouldn't be too bad.
2
Nov 05 '19
Awesome thank you so much! I signed up for a coursera discrete mathematics course so I have a plan to follow week for week :-) it’s only 11 weeks too!
2
23
u/jujucohn Nov 05 '19
Discrete Math (especially Graph Theory), and Algorithms will be most helpful in getting a Job.
Linear algebra, Multivariable Calculus, Probability, and statistics are all useful for Machine Learning.
Differential Equations is useful for numerical methods.
Linear algebra, and Trigonometry are useful for computer graphics.
Number theory is useful in Cryptography.
1
3
u/jirocket Nov 05 '19
just wanted to +1 discrete math as a foundation. I’ve taken linear algebra, graph theory, numerical analysis, and mathematical statistics. The basic concepts from those other fields help, but they won’t pay dividends in a career unless you further specialize.
The mathematical intuition from taking discrete math and an intro to proofs class should take you far.
2
u/jcliberatol Nov 05 '19
Depends on the Job honestly, if you are doing front end work, then trigonometry and algebra are very useful, for ML and beyond Linear algebra is the foundation and if you want to get into algorithms then Discrete Math / Algorithm Study by itself is great (Look up Cormen book and practice your sorts). If you are getting into numerical methods, simulation and that kind of stuff you'll need calculus and differential equations (Not solving them symbolically but understanding what they mean)
2
u/iconic14 Nov 05 '19
fundamenrals of logic
discrete mathematics
relations, groups: abstract algebra
number theory
set theory
graph theory
linear algebra
probability and statistics
2
u/exhortatory Nov 05 '19
Go through "Concrete Mathematics" by Knuth
4
u/mbleslie Nov 05 '19
holy shit dude that's like toughest discrete math book out there
1
u/exhortatory Nov 06 '19
It's written very well, and while challenging is approachable if you take your time and is organized in a way that leads to a lot of self-discovery of concepts.
I found it, while more challenging than a lot of books, a lot more engaging and better for internalizing the material it covers and managed my way through it with little more than basic algebra + high level calc concepts in my memory, mostly due to the quality of it's presentation.
This is subjective, but that's my take.
1
u/mbleslie Nov 06 '19
but let's be honest, you can learn the more practical aspects of discrete math from other textbooks. concrete mathematics would be better suited for someone headed for graduate level compsci studies or a degree in mathematics itself.
2
u/exhortatory Nov 06 '19
maybe, I'm not really qualified to judge about what's suited for degrees. I've found "graduate level compsci" stuff pretty good to have in my head as someone paid to make programs though.
Obviously people can learn effectively from a variety of sources. This source worked really well for me.
1
u/slackw1zard Nov 06 '19
Discrete mathematics, algebra, pre-calculus and Calculus I and/or Calculus II depending on how in depth you want to get. Linear Algebra and Calculus I-III if you want to get into deep learning and the very advance universe altering stuff.
1
u/cartmancakes Nov 06 '19
Algebra 2 should be fine. If you want to go into AI and machine learning, then it becomes trickier.
-1
Nov 05 '19
1
u/zanidor Nov 05 '19 edited Nov 05 '19
I love you, but this is terrible advice. I was a software engineer for years and never needed category theory. I'm currently getting a PhD in CS and barely need category theory. Category theory is fun, but I would not classify it as practical knowledge for a working programmer unless you're writing Haskell at Galois or whatever, and even then I'd say it's optional.
Asking someone with no background in higher math who is trying to break into their first software engineering job to go crack open a category theory text is mean. :)
1
Nov 05 '19
It's really not. The field is getting to the point where people with no experience in Category Theory can learn it because the materials are getting better. Not to mention every language is adapting functional programming styles. Stop being paternalistic and let people learn things without saying they're "too stupid" to learn it. OP can absolutely learn it, practice it, and use the concepts in his day to day work.
2
u/zanidor Nov 06 '19
Well I guess we just disagree on this. :) I've been a SE for a long time and am in academia now studying programming languages, so I feel like I have a pretty good understanding of where category theory sits in relation to building software. Importantly, category theory isn't critical to understanding FP -- basic type theory is much more important, for example.
For the record, I don't think OP is "too stupid" to learn category theory, just that it's going to be a lot of abstraction that OP hasn't encountered before (it sounds like they haven't even had an intro to higher math class). I'm not saying OP is unable to handle category theory, just that they're inexperienced with this kind of math and there are better ways to spend their study time.
36
u/TFWPKY_create Nov 05 '19
Discrete math all the way. If you take the time to learn and apply it, it'll make the overall process so much easier.