General

Profile

DarkWiiPlayer (Dennis Fischer)

  • Login: DarkWiiPlayer
  • Registered on: 06/04/2018
  • Last sign in: 07/24/2019

Issues

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

Activity

07/24/2019

07:35 AM Ruby Misc #15723: Reconsider numbered parameters
I see many suggestions for different keywords or sigils, but they're all about the argument itself. What i feel is being ignored is adding to the block syntax itself; for example:
``` ruby
[1, 2, 3].reduce ${ arg_1 * arg_2 }
# or
...
DarkWiiPlayer (Dennis Fischer)

04/02/2019

11:39 AM Ruby Misc #15723: Reconsider numbered parameters
I fail to see how the downsides outweigh the problems. The @-syntax looks ugly, misleading and adds even more complexity to the language. The `\1`, `\2`, etc. syntax makes much more sense if you deal with regular expressions a lot, but o... DarkWiiPlayer (Dennis Fischer)

06/04/2018

11:10 AM Ruby Feature #14799: Startless range
This does make sense when considering the reverse of the range, in other words, counting down from N to -infinity. This reasoning has two problems though:
- Ranges have no method that reverse them
- Ruby doesn't seem to like N..M ran...
DarkWiiPlayer (Dennis Fischer)
07:37 AM Ruby Feature #14821 (Rejected): aditional arguments to yield_self
Currently, `yield_self` only accepts a block as its single argument. I propose that it should also accept a series of additional arguments that get passed to the block after `self`
This is what I mean:
def yield_self(*args, &bl...
DarkWiiPlayer (Dennis Fischer)

Also available in: Atom