Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

aaronchow

macrumors regular
Original poster
Sep 29, 2007
164
9
I just want to share with you that I just created my first ever "Hello World" text displaying on the terminal. Not quite a program yet, but will be soon eventually. It is quite an excitement as this is my first time learning programing. Joy, everyone! :)
 
Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_3 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7E18 Safari/528.16)

I didn't know programming is all about mathamatics until now. I am not good at math. The last math class I take was Advance Algebra. I think I need to take Calculus and beyond besides learning programming from now on. Joy, everyone.
 
Mathematics

aaronchow, I didn't quite understand your last post. But if you're implying that you need calculus to program you're wrong. Unless you're planning on writing a mathematics program, for example one that finds derivatives or integrals of user-input formulae.
 
I didn't know programming is all about mathamatics until now. I am not good at math. The last math class I take was Advance Algebra. I think I need to take Calculus and beyond besides learning programming from now on. Joy, everyone.

Advanced math itself is not necessary for programming. However, it is important that you are very comfortable with logic and logical thinking, which taking advanced math classes can often help with.
 
Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_3 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7E18 Safari/528.16)

I am reading "Programming in Objective C 2.0,"
(recommended by one of the post here, thanks). I just finish reading the loop statements. So far the author is using mainly math equations to solve his problems, like:

- reading some intergers backward (input: "1234"; output: "4321"): The author then divides the number by 10 and simply takes the remainder.

- check if an interger is odd or even: n == n / 2 * 2

The more i read the book, the more the author impresses me. I have never thought math can be so useful (besides counting changes and coins), so I didn't pay too much attention to it (just passed the class and never pick up the books again). Now I actually find math can help problem solving, I went to ask my dean to add a calculus class back on my senior year. Yap, I am still in high school ><

I am not far behind to all of you. I hope I can contribute my knowledge to help others soon. Joy, everyone.
 
Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_3 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7E18 Safari/528.16)

I am reading "Programming in Objective C 2.0,"
(recommended by one of the post here, thanks). I just finish reading the loop statements. So far the author is using mainly math equations to solve his problems, like:

- reading some intergers backward (input: "1234"; output: "4321"): The author then divides the number by 10 and simply takes the remainder.

- check if an interger is odd or even: n == n / 2 * 2

The more i read the book, the more the author impresses me. I have never thought math can be so useful (besides counting changes and coins), so I didn't pay too much attention to it (just passed the class and never pick up the books again). Now I actually find math can help problem solving, I went to ask my dean to add a calculus class back on my senior year. Yap, I am still in high school ><

I am not far behind to all of you. I hope I can contribute my knowledge to help others soon. Joy, everyone.

I've been programming in various languages for almost 15 years now and I've never used math beyond basic algebra (and that's having written more than one Insurance and Financial related applications). Calculus is overkill. The books like to use math an example which is something that's always annoyed me about programming books.

I'd be much happier seeing text manipulation and such in books, personally. That's a subject very few seem to like to cover.
 
I'd be much happier seeing text manipulation and such in books, personally. That's a subject very few seem to like to cover.
I think math as examples is used more frequently because something like int x = 2 + 3 is simpler and easier to understand (in many languages) than something like String str = "first name" + "last name", which can vary quite a bit in how it's done.
 
I've been programming in various languages for almost 15 years now and I've never used math beyond basic algebra (and that's having written more than one Insurance and Financial related applications). Calculus is overkill. The books like to use math an example which is something that's always annoyed me about programming books.

I'd be much happier seeing text manipulation and such in books, personally. That's a subject very few seem to like to cover.


I'm in mostly the same boat. I just started messing around with 3D programming, and that's a whole other beast. There can definitely be some complex math involved there.
 
I think math as examples is used more frequently because something like int x = 2 + 3 is simpler and easier to understand (in many languages) than something like String str = "first name" + "last name", which can vary quite a bit in how it's done.

Don't get me wrong, those type of things are great for showing the concepts of variables and basic functions. I'm not saying they should leave the math demonstrations out all together, it just seems to me that they tend to gloss over the text stuff in most books. Especially with iPhone development and such. The whole NSString thing is a bit difficult to wrap my brain around coming from c# and vb.net and JavaScript and, other than that one objective c book, I have yet to see a book that spends a decent amount of time on the concept.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.