+ 6

What is relation between mathematics & coding

8th Nov 2017, 3:58 PM
Nitesh Kumar
Nitesh Kumar - avatar
4 Answers
+ 5
Pretty rocky relationship. Mathematics is so calculated and organized, so it's really a neat freak. Coding on the other hand just kinda goes with the flow and can be messy and lazy sometimes. They love each other though, and when it comes down to it, they're basically the same thing when you take off their clothes and look at their naked bodies.
8th Nov 2017, 4:03 PM
AgentSmith
+ 4
Mathematics helps simplify code. For example, A for loop to calculate 1^2+2^2+...+n^2 could be replaced with the formula: n*(n+1)*(2*n+1)/6
8th Nov 2017, 4:04 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 4
Coding is the visual representation of math and more time passes more solutions are found to simplify it.
8th Nov 2017, 4:55 PM
Umbe
Umbe - avatar