DEV Community

Daniel Reis
Daniel Reis

Posted on

"Programmer need a learn Math"

"Programmer need a learn Math", "Hey, if you want to learn code or script you need Math", this affirmative really seems like fallacy

Always, you really need Math for learning programming?
The answer: MAYBE!

Math in programming is like a similar physic or chemistry in our life, because in programming we learning math abstractions like geometry(x, y, maybe z), Sum. See this example:

Sum in the normal case

Image description

This operation, intuitive remember one "classic loop for"

Sum in Java:

public class SumDemonstration {
    public static void main(String[] args) {
        int n = 10;
        int m = 0;

        for (int i = 1; i <= n; i++) {
            m += i;
        }

        System.out.println("The sum of numbers from 1 to " + n + " is: " + m);
    }
}
Enter fullscreen mode Exit fullscreen mode

"WOW this loop for I use the all times"

  • Yeah this intuitive math in programming. But this concepts abstract like a enough.

The math importance!

Obviously math have a great importance in the many software development, why? Games, Great Apps(COMPLEX), BigData and all software. But, not all software needs advanced mathematics, but at least the basics will be in the code!

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay