General

Profile

bughit (bug hit)

  • Login: bughit
  • Registered on: 10/29/2014
  • Last connection: 02/24/2020

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 11 19 30

Activity

02/20/2020

07:08 PM Ruby master Misc #16644 (Open): why is potential dynamic constant assignment an error when actual dynamic constant assignment is only a warning
```rb
module Mod1
def self.define_consts
const_set(:CONST1, :CONST1)
# this is actual const re-assign...
bughit (bug hit)

12/13/2019

07:58 PM Ruby master Feature #14183: "Real" keyword argument
> That was already legal if foo did not accept keyword arguments. :)
my full example was this
```rb
def foo(a:...
bughit (bug hit)
05:08 PM Ruby master Feature #14183: "Real" keyword argument
So after this improvement, nonsense like this:
```rb
foo(a: 1, 'a' => 2, 1 => 3, nil => 4, true => 5, Object.new ...
bughit (bug hit)

11/15/2019

12:48 AM Ruby master Bug #16349 (Closed): Logger shift_age of 0 disables shift_size
shift_age is documented as: Number of old log files to keep, or frequency of rotation (daily, weekly or monthly). Def... bughit (bug hit)

11/04/2019

09:35 PM Ruby master Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
> Ruby having a single nil, instead of JavaScript's null and undefined, is a net benefit, in my opinion.
undefine...
bughit (bug hit)
05:00 PM Ruby master Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
> The "penalty" I pay for this is one line of code
The penalty the language pays is it has a demoware, checklist i...
bughit (bug hit)

11/03/2019

06:57 PM Ruby master Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
> For this purpose I built a special value a while ago
What purpose? Surely you understand that your special value...
bughit (bug hit)

11/01/2019

11:55 PM Ruby master Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
It's conceivable that it can be done without a keyword, there are other way to refer to special values.
However wh...
bughit (bug hit)
09:33 PM Ruby master Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
> Other than arity, it seems like you would want to use the new argument forwarding syntax
I didn't know about new...
bughit (bug hit)
07:02 PM Ruby master Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
Compared to javascript default arg values are far less useful in ruby because of the lack of this forwarding capabili... bughit (bug hit)

Also available in: Atom