News for hackers. Stuff that matters.
Re:Ruby 3.2.0 Is from Another Dimension by empthought on Friday January 06, 2023 @01:42PM (#34278976)
You are studiously missing the point and spamming irrelevant details. Yes, there's a Python "proxy" in your docs but it is syntactically transparent. Proc's proxy is not transparent.

me:

> If it's a callable then it can be called with parens

The docs:

> These are the types to which the function call operation (see section Calls) can be applied:

True of Python instance method objects. False of Ruby Methods and Procs. Therefore Python has first-class methods, and Ruby does not have first-class functions nor first-class methods. End of discussion.

Re:Ruby 3.2.0 Is from Another Dimension by djur on Friday January 06, 2023 @07:00PM (#34283197)
In Ruby, the function call operator, `.()`, can be used on both Method and Proc objects. This being different from the syntax used for method invocation does not have anything whatsoever to do with whether functions are first class. You are both wrong and being unreasonably rude about it.