General

Profile

jwmittag (Jörg W Mittag)

Issues

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

Activity

10/03/2021

11:50 AM Ruby Bug #18237 (Closed): Remove unnecessary checks for `Time` in `Range#each` as per the comment
In commit:7817a438eb1803e7b3358f43bd1f38479badfbdc, the implementation of `Time#succ`, which had been deprecated for 10 years, was finally removed.
During that time, there was an explicit `instance_of?` check in source:range.c#L350 wi...
jwmittag (Jörg W Mittag)

04/18/2021

03:02 PM Ruby Feature #12543: explicit tail call syntax: foo() then return
mame (Yusuke Endoh) wrote in #note-9:
> And I have another concern. If tail call optimization is on by default, some people will strongly depend on it.
That's the point. Proper Tail Calls allow you to write code that is otherwise *i...
jwmittag (Jörg W Mittag)
02:41 PM Ruby Feature #16945: Enable TCO by use of special form
x3qt (Yury Polyakov) wrote in #note-6:
> shyouhei (Shyouhei Urabe) wrote in #note-4:
> ...
Adding a new reserved word is *extremely expensive* in the sense that it *massively* breaks backwards-compatibility. Every single piece of code ...
jwmittag (Jörg W Mittag)

12/01/2019

07:58 AM Ruby Feature #16095: 2 Features: remove (simplify) 'new' keyword and Property Shorthand
Please, do not mix requests for multiple unrelated features in one feature request. It makes it impossible to properly address them. For example, what should happen with this feature request if one feature gets accepted and one gets reje... jwmittag (Jörg W Mittag)

08/11/2019

10:00 PM Ruby Feature #14164: [Suggestion] Type system for ruby 3x to be usable for e. g. rubocop or autogenerating crystal code and so forth
shevegen (Robert A. Heiler) wrote:
> Crystal is in many ways similar to ruby;
It really isn't. I don't know where this myth originated and why it is so widespread and persistent.
> ...
Yes, that is true. However, of the three part...
jwmittag (Jörg W Mittag)
09:34 PM Ruby Feature #14399: Add Enumerable#product
jzakiya (Jabari Zakiya) wrote:
> That's interesting because I never intuitively understood the use of `inject`
This is bastardized from Smalltalk. In Smalltalk, method names consist of multiple words and the arguments are written in ...
jwmittag (Jörg W Mittag)
09:10 PM Ruby Feature #14781: Enumerator.generate
zverok (Victor Shepelev) wrote:
> > However, literally as I am writing this, a thought pops into my mind: how about Enumerator::produce as the dual to Enumerable#reduce? Scala also has iterate which is the restricted variant of unfold.
...
jwmittag (Jörg W Mittag)
08:06 PM Ruby Feature #14781: Enumerator.generate
zverok (Victor Shepelev) wrote:
> This is alternative proposal to `Object#enumerate` (#14423), which was considered by many as a good idea, but with unsure naming and too radical (`Object` extension). This one is _less_ radical, and, at...
jwmittag (Jörg W Mittag)
08:46 PM Ruby Feature #14701: If the object is not frozen, I want to be able to redefine the compound assignment operator.
It is possible to find sane semantics for this. [Scala](https://scala-lang.org/files/archive/spec/2.13/06-expressions.html#assignment-operators), for example, has the following semantics:
```scala
a ω= b
```
is first tried to be ...
jwmittag (Jörg W Mittag)
07:43 PM Ruby Feature #14967: Any type
baweaver (Brandon Weaver) wrote:
> In Scala, there's the concept of an Any type which can be used to match anything.
This is a very odd characterization of `scala.Any`. In Scala, `Any` is the *top type* (in the type-theoretical sense...
jwmittag (Jörg W Mittag)

Also available in: Atom