login about faq

To prove you're not a spammer, email newuser.lgqa@gmail.com with the subject "Account Request" to request an account.


I tried getting to programming by starting with Python. When I looked up tutorial videos, it was all math type stuff for writing code. Is it that way for all programming?

asked Aug 25 '10 at 17:52

Luke%20oX's gravatar image

Luke oX
1.8k139150172


Well, yes, there are somethings in the programming language I know, Objective-C, that require a little bit of math work. Such as, heres an example, an NSTimer only accepts the time in seconds, so if I wanted to make the task happen in 30 minutes after I started the timer, then I would have to do 30x60 to get my amount of seconds, then enter that in. I recommend Objective-C because there are a ton of YouTube videos on it. From the way you wrote your question, it seems as if Python would require a lot of arithmetic, so I would recommend Objective-C over it due to the fact that I've never had to do a ton of math work. Even though the word Python sounds cooler than Objective-C.

answered Aug 25 '10 at 17:56

AppleHack23's gravatar image

AppleHack23
(suspended)

1

I'm sorry, but voting up on an uninformed answer seems silly. I had to vote down on this because Objective-C will require just as much, if not more mathematical understanding. C-family programmers tend to focus more on worst-case scenarios, which means you need to know about big-O notation to say the least. If I were to say a insertions, retrievals and removals to/from a collection class were all O(n), would that seem like a reasonable class to use, to you? It doesn't matter in Python, because there are so many classes already written and Python developers don't tend to focus so much on efficiency of code.

From this, one may understand that you don't know exactly what you're talking about. That's not a problem itself, because you're clearly willing to learn. However, I suggest informing yourself before writing comments like this. Whether you agree or not that Youtube videos are not a great place to learn how to program is your choice. The decision will one day haunt you or help you. Just remember, anyone can release a youtube video. People who write books have to be correct, or they (usually) don't get good publicity. People who release a youtube video just have to spam heaps to get plenty of views, and the rest is history. That doesn't mean they are good at teaching a programming language. To put it straight: Book authors could release a GREAT video. They usually aren't paid to do so, so they usually won't. Video bloggers usually aren't even intelligent enough to know (or to find out) the values that are guaranteed to be able to be stored in a variable of a particular type.

(Aug 25 '10 at 23:23) Seb Seb's gravatar image

Notice how I said "due to the fact that I've never had to do a ton of math work." - Thats me personally, I didn't say that everybody is that same way. Its depending on what you are making.

(Aug 25 '10 at 23:41) AppleHack23 AppleHack23's gravatar image

... Then you've never had to use integers dynamically...

(Aug 25 '10 at 23:57) Seb Seb's gravatar image

Well I never had the need to.

(Aug 26 '10 at 00:01) AppleHack23 AppleHack23's gravatar image

I find that difficult to believe. Nonetheless, C, C++ and indeed Objective-C require more validation/sanitation than Python. Inherently, this means more maths.

(Aug 26 '10 at 00:20) Seb Seb's gravatar image

tutorials tend to start with math because you don't need much to get started. In actual practice programming may require a lot or a little math, depending on the problem you're solving

answered Aug 25 '10 at 18:10

gcanyon's gravatar image

gcanyon
161

Short answer: No.

Long answer: Yes.

For the vast majority of tasks, you need only a basic understanding of arithmetic and a working knowledge of high school level stuff.

for highly specialized applications, especially in graphics or other geometry-related problem areas, kinda. You'll need to know how to tell the computer how to solve the problem, but you need not be able to solve it yourself.

answered Aug 26 '10 at 03:37

tsilb's gravatar image

tsilb
21.0k65199333

A lot of programming does involve a lot of math or math-like thinking (like arrays)

answered Aug 26 '10 at 00:05

FilipinoPower's gravatar image

FilipinoPower
13.0k140219313

There is a lot of maths in programming that you probably won't realise is maths. Things like Logic, Algorithms and Sets are frequently used in programs yet they aren't always directly associated with maths. It's good to have a mathematical mind to program code, though being a mathematical genius certainly is necessary.

answered Aug 26 '10 at 03:21

jwonno's gravatar image

jwonno
52191422

Yes as long as you under stand some of the advanced math functions than you should be fine for programming. Just remember to learn the basics then in the future you can turn around with the internet and a book to help you out with the more complicated things. So just remember to under stand it and don't loose your self in the more advanced stuff.

answered Aug 26 '10 at 04:30

Craighton's gravatar image

Craighton ♦♦
16.6k115207329

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported


Tags:

×725
×230
×129
×96
×28
×23

Asked: Aug 25 '10 at 17:52

Seen: 4,008 times

Last updated: Aug 26 '10 at 04:30