phazon307
Full Member
Offline
Activity: 140
Merit: 100
Don't fear Crypto Exchanges go with honest well kn
|
|
January 26, 2014, 07:59:19 AM |
|
Algebra is heavily used in programming.
Programming is full of
j=1; j<array.length;j++
type lines, no matter the language.
What does that line have to do with algebra?! That's an extract from an if() loop, 3 individual but related statements. I've been programming for 20 years and can't remember the last time I needed algebra after A-level maths in school :p (but I don't do any 3D gaming progarmming, which is where I guess you're aiming this at) I am pretty sure that if there are variables in a program, there's algebra involved. If there's something other than a number representing a value, it's probably algebra. When you are creating a variable your defining something. This can use algebra but it can also not var time = getTime(); all your doing is making time = to a function so you don't have to write out the entire function over and over and over again that way when you want to use getTime you just say time.
|
Win up $200.00 usd in bitcoins every hour.
|
|
|
U1TRA_L0RD
Full Member
Offline
Activity: 126
Merit: 100
CAUTION: Angry Man with Attitude.
|
|
January 26, 2014, 10:12:55 AM |
|
Hey guys, Is codemasters down for you? I cant seem to access it. It just says 405 forbidden
|
|
|
|
btcton
Legendary
Offline
Activity: 1302
Merit: 1007
|
|
January 26, 2014, 04:01:01 PM |
|
Algebra is heavily used in programming.
Programming is full of
j=1; j<array.length;j++
type lines, no matter the language.
What does that line have to do with algebra?! That's an extract from an if() loop, 3 individual but related statements. I've been programming for 20 years and can't remember the last time I needed algebra after A-level maths in school :p (but I don't do any 3D gaming progarmming, which is where I guess you're aiming this at) I am pretty sure that if there are variables in a program, there's algebra involved. If there's something other than a number representing a value, it's probably algebra. When you are creating a variable your defining something. This can use algebra but it can also not var time = getTime(); all your doing is making time = to a function so you don't have to write out the entire function over and over and over again that way when you want to use getTime you just say time. Just by giving time a value (any value) you are already using algebra. At least from the way I see it.
|
The signature campaign posters adding useless redundant fluff to their posts to reach their minimum word count are lowering my IQ.
|
|
|
gogodr
|
|
January 26, 2014, 06:51:37 PM |
|
Why does it matter if it uses math or not? Learn it if you need it. You are already doing that with the programming language. Usually when programming games (what I do.), I use calculus and physics a lot. When programming web, usually I need some math to calculate offsets and positioning for the front end. Almost only logic on the back end.
|
|
|
|
rhino34567
|
|
January 26, 2014, 07:13:35 PM |
|
Does anybody know the best site to learn Java and/or C++? I can't find many good sites out there.
|
|
|
|
U1TRA_L0RD
Full Member
Offline
Activity: 126
Merit: 100
CAUTION: Angry Man with Attitude.
|
|
January 26, 2014, 07:15:20 PM |
|
Does anybody know the best site to learn Java and/or C++? I can't find many good sites out there.
Codemasters is working now, I see that that is the best site to learn any language of coding!
|
|
|
|
nickjer
Newbie
Offline
Activity: 24
Merit: 0
|
|
January 27, 2014, 02:10:56 AM |
|
Algebra is heavily used in programming.
Programming is full of
j=1; j<array.length;j++
type lines, no matter the language.
What does that line have to do with algebra?! That's an extract from an if() loop, 3 individual but related statements. I've been programming for 20 years and can't remember the last time I needed algebra after A-level maths in school :p (but I don't do any 3D gaming progarmming, which is where I guess you're aiming this at) 20 years of programming and you just stated an "if loop"? Please explain how an "if loop" works. Also, programming is swimming in algebra. Not only are you passing values around in variables and defining functions with them (e.g., b = 3.0; h = 2.0; a = 0.5*b*h;) but you also use 1D and 2D arrays which is basic linear algebra (e.g., v[i*length+j]). Also a "real" if statement is a common place to see algebraic options such as: if (f(x) % 2 == 0) { //code here } Not to mention the amount of algebra used in many of the algorithms you take for granted (e.g., sorting, hashing, searching).
|
|
|
|
U1TRA_L0RD
Full Member
Offline
Activity: 126
Merit: 100
CAUTION: Angry Man with Attitude.
|
|
January 27, 2014, 02:15:09 AM |
|
Algebra is heavily used in programming.
Programming is full of
j=1; j<array.length;j++
type lines, no matter the language.
What does that line have to do with algebra?! That's an extract from an if() loop, 3 individual but related statements. I've been programming for 20 years and can't remember the last time I needed algebra after A-level maths in school :p (but I don't do any 3D gaming progarmming, which is where I guess you're aiming this at) 20 years of programming and you just stated an "if loop"? Please explain how an "if loop" works. Also, programming is swimming in algebra. Not only are you passing values around in variables and defining functions with them (e.g., b = 3.0; h = 2.0; a = 0.5*b*h;) but you also use 1D and 2D arrays which is basic linear algebra (e.g., v[i*length+j]). Also a "real" if statement is a common place to see algebraic options such as: if (f(x) % 2 == 0) { //code here } Not to mention the amount of algebra used in many of the algorithms you take for granted (e.g., sorting, hashing, searching). Wow, So it does need complex math.
|
|
|
|
Caesium
|
|
January 27, 2014, 02:17:11 AM Last edit: January 27, 2014, 02:39:02 AM by Caesium |
|
Algebra is heavily used in programming.
Programming is full of
j=1; j<array.length;j++
type lines, no matter the language.
What does that line have to do with algebra?! That's an extract from an if() loop, 3 individual but related statements. I've been programming for 20 years and can't remember the last time I needed algebra after A-level maths in school :p (but I don't do any 3D gaming progarmming, which is where I guess you're aiming this at) 20 years of programming and you just stated an "if loop"? Please explain how an "if loop" works. Yep, cos I really haven't got better things to do than prove myself to you.. edit: having gone away and thought about why you made a point of that I realised my error. Of course I meant condition not loop. My programming is better than my grasp of English, I swear. Also, programming is swimming in algebra. Not only are you passing values around in variables and defining functions with them (e.g., b = 3.0; h = 2.0; a = 0.5*b*h;) but you also use 1D and 2D arrays which is basic linear algebra (e.g., v[i*length+j]). Also a "real" if statement is a common place to see algebraic options such as:
if (f(x) % 2 == 0) { //code here }
Not to mention the amount of algebra used in many of the algorithms you take for granted (e.g., sorting, hashing, searching).
I've just never heard the term algebra used to refer to this sort of basics maths before, I suppose. In school whenever algebra was mentioned it was always related to equations like: http://en.wikipedia.org/wiki/Algebra#Algebra_as_a_branch_of_mathematicsbut you know, feel free to nitpick over my choice of words some more.
|
|
|
|
techgeek
|
|
January 27, 2014, 02:48:31 AM |
|
Have you checked out codeacademy.com or like treehouse.
|
|
|
|
nickjer
Newbie
Offline
Activity: 24
Merit: 0
|
|
January 27, 2014, 02:57:08 AM |
|
Algebra is heavily used in programming.
Programming is full of
j=1; j<array.length;j++
type lines, no matter the language.
What does that line have to do with algebra?! That's an extract from an if() loop, 3 individual but related statements. I've been programming for 20 years and can't remember the last time I needed algebra after A-level maths in school :p (but I don't do any 3D gaming progarmming, which is where I guess you're aiming this at) 20 years of programming and you just stated an "if loop"? Please explain how an "if loop" works. Yep, cos I really haven't got better things to do than prove myself to you.. edit: having gone away and thought about why you made a point of that I realised my error. Of course I meant condition not loop. My programming is better than my grasp of English, I swear. Hah, sorry was just giving you a hard time. Although an if loop would be impressive
|
|
|
|
|