Hullaballoonatic
03/03/2019, 8:43 PMsubject.verb(object)
. I personally hate syntax like python's len(list)
, because I feel like as a property of the list, it should be called as list.len
, and that len(list)
implies some kind of transformation of list
serebit
03/03/2019, 9:26 PM.len
) as an action performed on an object (such as len()
)Hullaballoonatic
03/03/2019, 9:27 PM()
, you can just do object.property
yen
03/03/2019, 10:58 PMlen()
is that it’s a function, and therefore can be composed with other functions nicely.Hullaballoonatic
03/03/2019, 10:59 PM