Skip to content
Commit 9ce0b169 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 a4bddfff
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