General

Profile

sowieso (So Wieso)

  • Login: sowieso
  • Email: sowieso@dukun.de
  • Registered on: 10/05/2013
  • Last sign in: 03/27/2019

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 3 0 3

Activity

03/27/2019

09:51 AM Ruby Feature #7148: Improved Tempfile w/o DelegateClass
I guess this is related:
``` ruby
tf = Tempfile.new
tf.unlink
tf2 = tf.dup
puts tf.fileno
# => 10
puts tf2.fileno
# => 11
tf2.close
print tf2.fileno
# => 11
print tf.fileno
IOError: closed stream
from /usr/local/rvm/rub...
sowieso (So Wieso)

12/14/2018

03:30 AM Ruby Feature #14594: Rethink yield_self's name
So we will have the questionable (as confusing for promise library users) `then` in 2.6? There were a lot of concerns mentioned above. `to_be` (or other suggestions) wouldn't have these problems. I would advice to re-think this one final... sowieso (So Wieso)

09/04/2018

02:48 AM Ruby Feature #14594: Rethink yield_self's name
This looks **to_be** perfect, I really like this idea! sowieso (So Wieso)

04/27/2018

07:44 AM Ruby Feature #12912: An endless range `(1..)`
I tried to structure my post to make it clear that there a two different types of uses for ranges. Of course `..5` where the left bound is -­­∞, wouldn't make sense for iterating. But being able to skip the right bound, but not the left,... sowieso (So Wieso)
06:24 AM Ruby Feature #12912: An endless range `(1..)`
I like this change.
**As for general ranges**:
I was somewhat comfortable with `.step`, but this is much nicer. Having a short global variable for Float::INFINITY would be fine too, imho. Something like `0..Inf` or `0..INF`.
**...
sowieso (So Wieso)

04/18/2018

04:03 AM Ruby Feature #14594: Rethink yield_self's name
I just like to stress that having an easy and short name is more important than having a name that correctly describes the behaviour. *`tap`* is also a horrible name that every ruby newbie has to look up first, still it is loved in the c... sowieso (So Wieso)

10/07/2014

12:27 PM Ruby Feature #10320: require into module
Michael Gee wrote:
> I don't like changing `require` with one argument to mean something else. It would break too much legacy code.
You are definitely right here, we should not do that.
Nobuyoshi Nakada wrote:
> ...
Is it? If th...
sowieso (So Wieso)

10/06/2014

12:49 PM Ruby Feature #10320: require into module
I chose the symbol `:Lib`, as I thought Ruby would complain if the constant `Lib` would not exist at this time. The keyword `in` would define it, if it would not exist. I would prefer if we could solve it without using symbols, but writi... sowieso (So Wieso)

10/02/2014

10:44 PM Ruby Feature #10320 (Open): require into module
When requiring a library, global namespace always gets polluted, at least with one module name. So when requiring a gem with many dependencies, at least one constant enters global namespace per dependency, which can easily get out of han... sowieso (So Wieso)

07/23/2014

06:20 PM Ruby Feature #10042: Deprecate postfix rescue syntax for removal in 3.0
Hi, I'm against it :-)
Nobody is forced to use it, and for short scripts it can be quite useful.
For example to fetch some websites, if they exist:
```ruby
require 'open-uri'
urls = …
urls.each do |url|
open(url) do
#save...
sowieso (So Wieso)

Also available in: Atom