Project

General

Profile

Actions

Bug #7369

closed

Matrix #row_size, #column_size methods

Added by Anonymous over 11 years ago. Updated over 11 years ago.

Status:
Closed
Target version:
-
ruby -v:
1.9.x
Backport:
[ruby-core:49409]

Description

I believe these methods should be renamed. "row_size" is confusing, because it can be intuitively understood as both "number of rows", and "size along a row" (or size of a matrix row). Same goes for "column size". I would like these methods renamed to unambigous, mnemonic names, such as

#number_of_rows alias #height
#number_of_columns alias #width

I do not insist on the above names. They are just examples of unambigous, mnemonic names. But I insist that "row_size" and "column_size" method names impress me as ambiguous.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0