+ 6
What is relation between mathematics & coding
4 Respuestas
+ 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.
+ 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
+ 4
Coding is the visual representation of math and more time passes more solutions are found to simplify it.