Gilles Sadowski created NUMBERS-162:
---------------------------------------
Summary: Use "of" as method name
Key: NUMBERS-162
URL: https://issues.apache.org/jira/browse/NUMBERS-162
Project: Commons Numbers
Issue Type: Wish
Reporter: Gilles Sadowski
Fix For: 1.0
Whenever it improves readability, prefer {{of}} as a method name.
Examples:
{code:java}
final double r = LinearCombination.of(a, b, c, d);
final double s = Summation.of(a, c);
{code}
instead of
{code:java}
final double r = LinearCombination.value(a, b, c, d);
final double s = Summation.value(a, c);
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)