On Wednesday, 24 June 2015 at 20:00:00 UTC, Jacob Carlborg wrote:
On 24/06/15 15:43, Adam D. Ruppe wrote:

Absolutely.

I don't even like names that are just kinda similar. Ruby, for example, has `chop` and `chomp`. What's the difference? idk, I have to look it
up. (chop will also remove non-newlines from the end)

Yeah, Ruby has one too many aliases:

filter/select, find/detect, map/collect and the best: size/length/count. Do you know the difference between size, length and count?

Adam, +1, I am always confusing when try to remember difference between chomp and chop.

If not to look at docs I would say that size is bite size, count - number of elements. So what is length I can't say. Probably I missed length and count.


Reply via email to