Let me read you something from the googles of the definition of algebra :PAnd finally:
"The part of mathematics in which letters and other general symbols are used to represent numbers and quantities".
What you did in your example was just that ;)
Let me read you something from the googles of the definition of algebra :PAnd finally:
Ah, that's not always true. You could have it where you know one value of it, but as it is a variable, the value varies, and that is what happens in programming usually.You forgot a bit "in formulae and equations"
In an algebraic equation, you DONT know the sum of the variable
If you spent 8 years mastering programming, then yeah:)What I learned from this thread: I've spent 8 years mastering the piano so I am garunteed to become an amazing coder xD
Wait, so you're basically telling me that you need math, which isn't actually even real math, -and extremely basic math, for that matter-, to do a single thing in Java.Out of everything you said I agree with just about 50%
My main disagreement has to do with math in coding. If you can't understand basic trigonometry, I believe you will be limited as a programmer. Sine and cosine are essential for lots of things in my opinion. For example, try having projectiles move in any arbitrary direction without the Math class in Java (specifically the atan2 method is what is important here). Perhaps this could be easily done using a library or some sort of engine, but you should understand what the engine is actually doing, right?
Side note: If you don't consider that "math" then let me tell you, lots of kids at my school are completely failing "not math."
Yes, the "single thing" was only one example. All I need is one example so long as you can't prove me wrong. Also, why debate me on whether or not it's real math? Didn't I say it was basic?Wait, so you're basically telling me that you need math, which isn't actually even real math, -and extremely basic math, for that matter-, to do a single thing in Java.
If you can't understand basic trigonometry, I believe you will be limited as a programmer. Sine and cosine are essential for lots of things in my opinion
So then you do need it... Sure, I could google code snippets for everything that I do, but I would never be able to replicate it without finding the same code again. Learn things yourself and you retain the information.If you don't know math, lets say, at all, and you needed to use atan2 or math PI even, you could just ask someone or something like that.
Perhaps this could be easily done using a library or some sort of engine, but you should understand what the engine is actually doing, right?
If you would've actually read my 6 line post, I wouldn't even have needed to write this at all.If you would've read the Quora article from somebody who's a mathematician and computer programmer, I wouldn't even have needed to write this at all.
Yes, the "single thing" was only one example. All I need is one example so long as you can't prove me wrong. Also, why debate me on whether or not it's real math? Didn't I say it was basic?
...which is usually exactly why you should know math.
So then you do need it... Sure, I could google code snippets for everything that I do, but I would never be able to replicate it without finding the same code again. Learn things yourself and you retain the information.
So, for starters, you gave me one example, which can be easily Googled. If you want to give me more than one example, we can discuss it then. Secondly, if you were an extremely forgetful person who Googled things and then didn't remember it afterwards, what you said would be true. If you're someone who remembers things normally, then once you Google something you should remember it for next time, because you just learnt it...which is usually exactly why you should know math.
Or, if its a complicated method, you should take the time to learn it. This is not the case with atan2 though.Learn things yourself and you retain the information.
First of all, when I said what I did:If you would've actually read my 6 line post, I wouldn't even have needed to write this at all.
I referenced you to an article backing up my point. All you did was tell me to read your post. Also, I DID read your post, and then I disproved everything you said. Then you gave me arguments, and I just answered them. I don't really get what you're trying to say with that.If you would've read the Quora article from somebody who's a mathematician and computer programmer, I wouldn't even have needed to write this at all.
int myint;
//Some Code
int myint=25;
That's not true. Accessing an undefined variable isn't algebra it's just wrong.An algebra variable has an unknown value. The only way for a code variable to be algebra is if its undefined.
Something like:
Code:int myint; //Some Code int myint=25;
static int euroToCent(int euro) {
return euro * 100;
}
xD i can't believe no one noticed this.Start what you finish.