No, learning the basic constructs of most programming languages will give you the tools you need to understand elementary logic and algorithms, which themselves can be a very good introduction to applied mathematics. Logical thinking and reasoning, coupled with an investigative mind, are far more important skills to have over being a math genius.