Pages:
Author

Topic: Programming lessons wanted (Read 1398 times)

newbie
Activity: 24
Merit: 0
January 26, 2014, 09:57:08 PM
#31
Algebra is heavily used in programming.

Programming is full of

j=1; 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 Smiley
hero member
Activity: 826
Merit: 1000
January 26, 2014, 09:48:31 PM
#30
Have you checked out codeacademy.com or like treehouse.

hero member
Activity: 546
Merit: 500
January 26, 2014, 09:17:11 PM
#29
Algebra is heavily used in programming.

Programming is full of

j=1; 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.

Quote

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_mathematics

but you know, feel free to nitpick over my choice of words some more.
full member
Activity: 126
Merit: 100
CAUTION: Angry Man with Attitude.
January 26, 2014, 09:15:09 PM
#28
Algebra is heavily used in programming.

Programming is full of

j=1; 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.
newbie
Activity: 24
Merit: 0
January 26, 2014, 09:10:56 PM
#27
Algebra is heavily used in programming.

Programming is full of

j=1; 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).
full member
Activity: 126
Merit: 100
CAUTION: Angry Man with Attitude.
January 26, 2014, 02:15:20 PM
#26
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!
sr. member
Activity: 288
Merit: 250
January 26, 2014, 02:13:35 PM
#25
Does anybody know the best site to learn Java and/or C++? I can't find many good sites out there.
sr. member
Activity: 434
Merit: 250
January 26, 2014, 01:51:37 PM
#24
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.
legendary
Activity: 1302
Merit: 1007
January 26, 2014, 11:01:01 AM
#23
Algebra is heavily used in programming.

Programming is full of

j=1; 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.
full member
Activity: 126
Merit: 100
CAUTION: Angry Man with Attitude.
January 26, 2014, 05:12:55 AM
#22
Hey guys, Is codemasters down for you? I cant seem to access it. It just says 405 forbidden  Huh
full member
Activity: 140
Merit: 100
Don't fear Crypto Exchanges go with honest well kn
January 26, 2014, 02:59:19 AM
#21
Algebra is heavily used in programming.

Programming is full of

j=1; 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.
legendary
Activity: 1302
Merit: 1007
January 26, 2014, 02:35:05 AM
#20
Algebra is heavily used in programming.

Programming is full of

j=1; 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.
full member
Activity: 126
Merit: 100
CAUTION: Angry Man with Attitude.
January 26, 2014, 02:27:24 AM
#19
Algebra is heavily used in programming.

Programming is full of

j=1; 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've been programming for 30 years - and have taught math in elementary school - what I stated is (albeit incredibly simple) Algebra.

Algebra is math with non-numeric objects. j in the for look is a non-numeric object. j=j+1 (represented with j++) is math. 

I am trying to address at a basic level. Not College Algebra, but more early Pre-Algebra.


Alright, I'll concede that point, when you said algebra I immediately thought of "find x in '2x + x^2 + 32 = 0'" Cheesy
Phew, Im starting to think if I should ask my teacher for help. Smiley
hero member
Activity: 546
Merit: 500
January 25, 2014, 11:12:46 PM
#18
Algebra is heavily used in programming.

Programming is full of

j=1; 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've been programming for 30 years - and have taught math in elementary school - what I stated is (albeit incredibly simple) Algebra.

Algebra is math with non-numeric objects. j in the for look is a non-numeric object. j=j+1 (represented with j++) is math. 

I am trying to address at a basic level. Not College Algebra, but more early Pre-Algebra.


Alright, I'll concede that point, when you said algebra I immediately thought of "find x in '2x + x^2 + 32 = 0'" Cheesy
rnp
member
Activity: 65
Merit: 10
Bullish on BitCoins
January 25, 2014, 11:05:28 PM
#17
Algebra is heavily used in programming.

Programming is full of

j=1; 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've been programming for 30 years - and have taught math in elementary school - what I stated is (albeit incredibly simple) Algebra.

Algebra is math with non-numeric objects. j in the for look is a non-numeric object. j=j+1 (represented with j++) is math. 

I am trying to address at a basic level. Not College Algebra, but more early Pre-Algebra.



full member
Activity: 140
Merit: 100
Don't fear Crypto Exchanges go with honest well kn
January 25, 2014, 10:51:26 PM
#16
I am taking a JavaScript and Ajax class right now math isn't really that important you can pretty much find the syntax for anything you want to do these days for instance if you wanted to have the todays date that you could put in a graphic or an image you would call a separate JS file. for instance

No math involved there when you get to if statements and while loops that is when the real math comes in.
full member
Activity: 126
Merit: 100
CAUTION: Angry Man with Attitude.
January 25, 2014, 10:33:46 PM
#15
Algebra is heavily used in programming.

Programming is full of

j=1; 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 want to know some programming for websites and app developing, The above links are in my bookmarks now, Thanks for the tips guys! Smiley)
hero member
Activity: 742
Merit: 500
January 25, 2014, 10:33:13 PM
#14
Since codeacademy has been mentioned....

My favorite go-to resource.

http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/
hero member
Activity: 546
Merit: 500
January 25, 2014, 10:18:00 PM
#13
Algebra is heavily used in programming.

Programming is full of

j=1; 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)
rnp
member
Activity: 65
Merit: 10
Bullish on BitCoins
January 25, 2014, 10:15:19 PM
#12
http://code.org/learn is a great resource for beginners.

www.lynda.com can come in handy with it's video tutorials, but I think they're paid

Try some free (and basically worthless) www.brainbench.com certifications.

--

Algebra is heavily used in programming.

Programming is full of

j=1; j
type lines, no matter the language.

Good luck.


Pages:
Jump to: