News for hackers. Stuff that matters.
Re:Ruby 3.0.0 RC1 by raverbashing on Monday December 21, 2020 @11:27AM (#25496370)
Not that Dir, I mean as in .methods/.instance_methods (or dir(instance) in python )

I fixed it in my original comment

Re:Ruby 3.0.0 RC1 by jeltz on Tuesday December 22, 2020 @09:38AM (#25506625)
Then I understand your complaint even less. I almost never sort the output from methods and I do not think I have ever sorted the output from instance_methods during my over 10 years as a Ruby developer.
Re:Ruby 3.0.0 RC1 by raverbashing on Wednesday December 23, 2020 @05:19PM (#25522933)
Python orders it. And when you want to look up a method by name you do a binary search by fact of being a sorted list
Re:Ruby 3.0.0 RC1 by fomine3 on Wednesday December 23, 2020 @11:05PM (#25524955)
Anyway you can just .sort