EDDYMENS

Published 2 weeks ago

A Practical Use Of The Max Function In Programming

If you have never used the mathmatical max function or method there is still a chance you have encountered it reading through some codebase.

There is also a chance you already know its used to find the largest item within a list of items max(1,3,2) #3, but then wonder if it can be used for more than just that.

In this short article I will prevent a good use case that is likely to come up if you are working on a financial system.

Here is another article you might like 😊 How To Identify Users In A WebSocket Connection|NodeJS