Seriously, though, some good advice here. My #1 rule for code cleanliness is just to use the standard libraries the way they're designed. As you say, there are built-in methods to find array maxima and minima, so why reinvent the wheel?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Catchy!
Seriously, though, some good advice here. My #1 rule for code cleanliness is just to use the standard libraries the way they're designed. As you say, there are built-in methods to find array maxima and minima, so why reinvent the wheel?