Logo

Programming-Idioms

History of Idiom 117 > diff from v17 to v18

Edit summary for version 18 by :
New Ruby implementation by user [mg]

Version 17

2016-02-16, 19:14:22

Version 18

2016-02-16, 19:42:06

Idiom #117 Get list size

Set n to the number of elements of list x.

Idiom #117 Get list size

Set n to the number of elements of list x.

Code
n = x.length