DEV Community

Luke Garrigan
Luke Garrigan

Posted on

Do you actually use maths as a developer?

This has always intrigued me as I see a tonne of posts saying that learning maths helps you become a better programmer.

I bloody love a bit of maths, I frequently go through my old notes and look up more and more complex problems to try widen the arsenal. But, to be honest, as a developer day-to-day I very rarely require any form of higher level mathematics to carry out my job. Every now and then I do a little game dev and that requires a reasonable amount: angles etc.

I’m curious to hear what you do and when you use maths as a developer, let me know in the comments.

Oldest comments (32)

Collapse
 
aminnairi profile image
Amin

Well, I don't require mathematics at work because I either use librairies that do that for me (Three.js and plugins for animations) or find the solution on the internet because I am not good at math but I guess it depends on the field of work. Someone that has to write a game engine from scratch for optimizations purposes will have to use maths more than I will.

Collapse
 
lukegarrigan profile image
Luke Garrigan

Awesome, what sort of development do you do?

Collapse
 
aminnairi profile image
Amin

I'm helping my CTO in the development of the website of a luxury brand that is using 3D rendering to allow their customers to configure their jewelry (rings, necklaces, ...). This is both challenging and interesting because I have all sorts of concerns (performance, SEO, design, ...).

Thread Thread
 
lukegarrigan profile image
Luke Garrigan • Edited

Sounds so cool, I’d love to see the final product!

Thread Thread
 
aminnairi profile image
Amin

We have a website and here is a page example of one of our rings (note that it is not optimized for low-end devices and is not working properly in Chromium, but is working well under Google Chrome).

Thread Thread
 
lukegarrigan profile image
Luke Garrigan

That looks amazing, hats off to you!

Collapse
 
michaelphipps profile image
Phippsy

You cant use Three.js without thinking about maths. In fact Three.js made me actually enjoy learning maths again.

Collapse
 
thejoezack profile image
Joe Zack

I don't, but I wish I had a better grasp on statistics because it keeps showing up in Machine Learning.

Collapse
 
lukegarrigan profile image
Luke Garrigan

That is true game dev and machine learning are the only times I really ever use it!

Collapse
 
johnkazer profile image
John Kazer

I'm using state charts/machines and functional programming more, which are kinda maths.

Collapse
 
buphmin profile image
buphmin

As I do things for web and some other back end services math is only used sometimes. Most of the time when math is required it is simple add, subtract, multiply, and divide. Occasionally some algebra is needed, but still it is minor.

That being said I think it is important for everyone regardless of profession to be reasonably capable in solving algebraic equations (with the help of a simple calculator) and how to apply them to real life scenarios. In addition one should have and understanding of dimensional analysis as it helps apply algebra to the real world.

Collapse
 
lukegarrigan profile image
Luke Garrigan

I agree completely, I see the world differently the more I learn maths. Just don’t get to apply it nearly enough as a software engineer.

Collapse
 
codemouse92 profile image
Jason C. McDonald

Yes, but I work a lot with algorithms, efficiency, data structures, and manual memory management. I'm also going to be working on a vector graphics rendering project, which involves plenty of linear algebra.

It all depends on what you're doing. The important thing is to have that knowledge in your back pocket, since you never know when it will crop up. Sometimes, it appears in the most unlikely places.

Collapse
 
davidjao profile image
davidjao

My job is to develop cryptographic primitives. I could not do this job without advanced mathematics.

On a slight tangent, every developer needs to know the basics of cryptography and security. It has nothing to do with whether or not you are writing cryptography software. (You shouldn't; you should use existing libraries.) But no matter what kind of software you are writing, other people will be attacking it. You need to know the principles of defense.

Collapse
 
lukegarrigan profile image
Luke Garrigan

Sounds like a brilliant job! But yeah, I can agree with that, it’s also something you just kind of pick up on the job, but it is taught in computer science degrees a little more thoroughly.

Collapse
 
everythingfunct profile image
Brad Richardson

I work on scientific and engineering software. Plenty of math. But still the skills I use more aren't strictly math. They're software design principles.

Collapse
 
bauripalash profile image
Palash Bauri 👻

Yes , I do. My scientific researches always require a level of mathematics.

Collapse
 
emoulson profile image
Evan Moulson

It's not required per se by my job, but my role in my team is kind of the efficiency/memory management/metrics guy, which leads me to use a lot of the statistics I learned years ago to determine statistical significance and model different approaches to a given problem.

Collapse
 
blazephoenix profile image
Tanmay Naik

Really depends on your field of work. Most plain old web development does not require mathematics much. You would need it extensively for anything in the field of machine learning, game engine development, operating systems, cryptography, etc.