Should I learn math before I learn how to code?

should I learn math before I learn how to code?

you can get by with a basic understanding of math, but it will definitely help if you advance your skills.

Once you start coding a little project you'll figure out some problems that'd be helped by maths. Just practice in an organic way.

Depends on what you code. If you use Java or C++ there are math helpers, but even then using libs is like solving algebra in a creative way.

If you can't do a triple integral you shouldn't be programming

Kekd. Also why the fuck people think that double or triple integral is harder than single one?

OP, you can be a pretty decent programmer if you don't know math. When i say don't know, i mean you know at least high school level math and you are totoal imbecile. But knowing math aka logical thinking certainly helps a lot, not in better programming skills but better reasoning

OP here: I have no knowledge of any algebra and I'm stuck between khan academy and taking cs at a uni. what do?

What do you want to do? Become professional programmer? You'll have to know math because of classes.

classes as in oop or in my student career classes?

Personally I started programming first and got into the math along the way.

Now i actively seek out courses on more advanced math topics to get a solid background for CS. If you're not inherently interested in the mathematics right now just ignore that aspect. It was through programming actively i first developed an interest in math, not the other way round.

Student classes ffs

I'd look up truth tables and De Morgan's laws.
Other than that, you don't really need too much math in general programming

Learn to code and if you come across the needs to learn math, do it then. Hard to say without knowing what your area of interest is.

Agreed. I've seen code with some ungodly conditionals.

You should learn electronics before you code.

meme

List of math subjects you should learn:
Calculus 1-3
linear algebra
discrete math
Statistics (optional)
Differential equations (optional)

After that, go learn about algorithms and it will all make sense

explain

Since we're at it, someone has some raccomandations for discrete maths book?

Calculus 3 is about as unnecessary as differential equations.

You think?

that's not electronics that is math

If you don't know how to make a logic gate with transistors you better kill yourself.

I got a C in that class I'm not sure on how to make a rectifier.

bump