Skip to content
Commit e67d34c0 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Removed reduction methods from Array and ArrayView, instead added overloads of...

Removed reduction methods from Array and ArrayView, instead added overloads of reduce and reduceWithArgument for arrays/views

Plain functions are much more flexible than methods. The methods were
also violating the open-closed principle:
https://en.wikipedia.org/wiki/Open%E2%80%93closed_principle
parent 199be45f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment