General

Profile

Lomig (Lomig Enfroy)

  • Login: Lomig
  • Registered on: 12/11/2021
  • Last sign in: 12/14/2022

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 0 1

Activity

12/20/2021

09:08 PM Ruby Feature #18402: Argument Labels

duerst (Martin Dürst) wrote in #note-6:
> Does this mean that both names can be used inside the method? And in that case, would they alias the same variable, or would there be two variables? Or can only one of the names be used inside...
Lomig (Lomig Enfroy)

12/13/2021

08:37 AM Ruby Feature #18402: Argument Labels
Well, using keywords is only a bonus side effect of arguments labels.
The main idea / need is to use different names for variables/arguments when calling the method and inside the method itself.
Thanks to you and this link, I was able ...
Lomig (Lomig Enfroy)

12/11/2021

04:37 AM Ruby Feature #18402: Argument Labels
Oh, I think the rightward assignment idea is brilliant; it would make sense and be kind of consistent syntaxically speaking! Lomig (Lomig Enfroy)
01:08 AM Ruby Feature #18402 (Open): Argument Labels
As a developer, I mainly program in two languages: Swift and Ruby.
I love Ruby with all my heart, but I came to like a particular feature of Swift: **Argument labels** ; I would love to see them appear in Ruby.
Matz on Twitter sugges...
Lomig (Lomig Enfroy)

Also available in: Atom