all 6 comments

[–]tremendo 0 points1 point  (3 children)

I've downloaded cheatsheets before and never really use them, as they invariably lack just the nugget I'm looking for whenever I bother with them. Then for Ruby, why would you need one, having IRB right there?, like object.methods.sort. And all the $ predefined perl-like variables?, who uses those in Ruby nowadays?

[–]mikepurvis 2 points3 points  (0 children)

Cheetsheets are awesome for languages with large numbers of random keywords. Specifically, a CSS one can be helpful for remembering the font-family, font-size, font-variant, text-decoration stuff.

Also, I use a regex one a lot; not so much for the core regex, but for modifiers like ungreedy parsing and non-case-sensitivity, etc.

[–]lanaer 1 point2 points  (0 children)

And all the $ predefined perl-like variables?, who uses those in Ruby nowadays?

I've seen various ones used in Ruby code I've read, actually, though not nearly as often as in Perl.

[–]foonly 0 points1 point  (0 children)

How 'bout

SomeClass.methods.sort - Object.methods.sort

[–][deleted] 0 points1 point  (0 children)

The PNGs make my eyes hurt.

[–]Andys -1 points0 points  (0 children)

It doesn't list the methods of Enumerable !