General

Profile

sawa (Tsuyoshi Sawada)

  • Login: sawa
  • Registered on: 04/27/2011
  • Last connection: 07/15/2022

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 59 129 188

Activity

08/25/2022

12:14 PM Ruby master Feature #18959: Handle gracefully nil kwargs eg. **nil
LevLukomskyi (Lev Lukomskyi) wrote in #note-10:
> If use `compact!` as a different statement then you need to make a ...
sawa (Tsuyoshi Sawada)
03:47 AM Ruby master Feature #18959: Handle gracefully nil kwargs eg. **nil
LevLukomskyi (Lev Lukomskyi) wrote in #note-8:
> 2. => more specifically `.tap(&:compact!)` since `compact!` may retu...
sawa (Tsuyoshi Sawada)

08/24/2022

02:44 PM Ruby master Feature #18959: Handle gracefully nil kwargs eg. **nil
LevLukomskyi (Lev Lukomskyi) wrote in #note-6:
> `compact` way looks good indeed, although:
> 1. it removes all `ni...
sawa (Tsuyoshi Sawada)

08/21/2022

05:12 AM Ruby master Feature #18959: Handle gracefully nil kwargs eg. **nil
In my opinion, putting the whole subhash `{id: id}` within a condition like that is redundant and ugly.
That is o...
sawa (Tsuyoshi Sawada)

08/17/2022

04:46 AM Ruby master Feature #17330: Object#non
ujihisa (Tatsuhiro Ujihisa) wrote in #note-19:
[H]ow's the following 2-words names instead?
>
> `itself_if`
> `i...
sawa (Tsuyoshi Sawada)

07/09/2022

02:44 PM Ruby master Bug #18905: :"@=".inspect is non-evaluatable
Not sure what you mean. `inspect` is expected to return a string, and the cases you mention indeed return a string re... sawa (Tsuyoshi Sawada)

07/02/2022

05:01 AM Ruby master Feature #17753: Add Module#namespace
@ioquatix (Samuel Williams)
The non-negative part of your code looks pretty much convoluted. To simplify your code (...
sawa (Tsuyoshi Sawada)

07/01/2022

04:13 PM Ruby master Feature #17753: Add Module#namespace
ioquatix (Samuel Williams) wrote in #note-21:
> ```ruby
> class A::B::C::MyClass; end
>
> A::B::C::MyClass.name(0) #...
sawa (Tsuyoshi Sawada)

06/21/2022

06:21 PM Ruby master Feature #18809: Add Numeric#ceildiv
Dan0042 (Daniel DeLorme) wrote in #note-3:
> Why not simply use `a.fdiv(b).ceil` ?
> It expresses the intent of the...
sawa (Tsuyoshi Sawada)

06/15/2022

02:20 PM Ruby master Feature #16495: Inconsistent quotes in error messages
zverok (Victor Shepelev) wrote in #note-21:
> (If you ask me, it irked me always as also looking weird in the termi...
sawa (Tsuyoshi Sawada)

Also available in: Atom