Hello everyone. Is it possible to enhance the value syntax in arrays, currently we can pass one or two parameters in the array to take values. ``` ruby [1,2,3,4,5,6,7,8,9][2] #result=3 [1,2,3,4,5,6,7,8,9][2,8] #result=[3, 4, 5, 6...jackmaple (maple jack)
Is it possible to turn off irb autocomplete, it doesn't work very well in my visual studio code terminal. When the content you enter is close to the bottom and there is not enough space for the content displayed in the autocomplete, it ...jackmaple (maple jack)
Hello.Currently, methods and variables in ruby are separated (lisp-2 semantics), but few people define variables and methods as the same name, right? Although some people may do this, should we unify the namespace for the better devel...jackmaple (maple jack)
Maybe my expression has some problems, sorry, it has been modified, in fact, what I want to say is that the existing lambda expression looks like the arrow symbol is not very intuitive. If we can simplify the grammar, in some cases it wo...jackmaple (maple jack)
matz (Yukihiro Matsumoto) wrote in #note-3: > "Ugliness is in the eye of the beholder". Could you explain why the current syntax is ugly? > ... Hello, we currently have lambda syntax, but at present-> seems to be just a simplified altern...jackmaple (maple jack)
Hello ruby team. Can we modify the syntax of lambda expressions in ruby3? The current definition of lambda expression was added in ruby1.9, but this syntax looks too tedious. ``` ruby lambda {|x| x + 1} #This looks elegant. #but.....jackmaple (maple jack)
Yes, changing the syntax is currently not a good choice, but I think it is necessary to modify the method call syntax to maintain the same form, and the method name is just a variable name (in order to support more flexible functional pr...jackmaple (maple jack)
Classes are currently first-class citizens in Ruby, but functions are not. This leads to a situation where the function calls are not uniform, for example: ``` ruby def boo(x) return x end boo2 = -> x { x } a = boo 10 b = boo2....jackmaple (maple jack)