General

Profile

fxn (Xavier Noria)

  • Login: fxn
  • Email: fxn@hashref.com
  • Registered on: 03/21/2010
  • Last connection: 04/10/2021

Issues

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

Activity

04/17/2021

08:04 AM Ruby master Feature #17753: Add Module#namespace
In my view, the way to implement the use case that matches Ruby is to go downwards.
Module has many constants, that ...
fxn (Xavier Noria)

04/13/2021

04:35 PM Ruby master Feature #17753: Add Module#namespace
BTW, you all know AS has this concept right? https://github.com/rails/rails/blob/f1e00f00295eb51a64a3008c7b1f4c4f46e9... fxn (Xavier Noria)
11:50 AM Ruby master Feature #17753: Add Module#namespace
The lexical parent module happens to be just the object from which you set the name, which does not even reflect the ... fxn (Xavier Noria)
10:01 AM Ruby master Feature #17753: Add Module#namespace
Oh, let me say something explicitly: You guys are Ruby committers, you are the ones that have the vision for what mak... fxn (Xavier Noria)
09:46 AM Ruby master Feature #17753: Add Module#namespace
To me, the ability of a namespace being namespace of itself
```ruby
m = Module.new
m::M = m
```
is one clear indica...
fxn (Xavier Noria)
09:37 AM Ruby master Feature #17753: Add Module#namespace
BTW, we were discussing yesterday with Aaron that the flag I am raising is about the name `namespace`. What we are de... fxn (Xavier Noria)
09:29 AM Ruby master Feature #17753: Add Module#namespace
> It's also a way to inform the user where that constant lives. The contents of the string have meaning.
The numerou...
fxn (Xavier Noria)

04/10/2021

08:45 PM Ruby master Feature #17753: Add Module#namespace
Also, in case my comments above are too generic, let's take the use case in the description of the ticket:
> I can d...
fxn (Xavier Noria)
10:54 AM Ruby master Feature #17753: Add Module#namespace
Let me add some edge cases that are possible, also for the archives:
```ruby
module M
module N
end
end
M::N.na...
fxn (Xavier Noria)
10:35 AM Ruby master Feature #17753: Add Module#namespace
I like the direction this is going towards, however, let me record some remarks for the archives.
Java has namespace...
fxn (Xavier Noria)

Also available in: Atom