Live data from Hacker News

Rsh: Ruby SHell

github.com

1–10 of 41 posts

Re: Rsh: Ruby SHell

#2
"Aliases (called nicks in rsh)"

Just, why? Everything else calls them aliases. Everyone knows what an alias is.

Is this something that works differently and so needs a different name?

If 'alias' was a badly chosen 'standard', then there's a case to try to change it, but 'alias' seems to be quite precise and fitting to me.

Re: Rsh: Ruby SHell

#5
post #2

"Aliases (called nicks in rsh)" Just, why? Everything else calls them aliases. Everyone knows what an alias is. Is this something that works differently and so needs a different name? If 'alias' was a badly chosen 'standard', then there's a case to try to change it, but 'alias' seems to be quite precise and fitting to me.

Probably because “alias” is a keyword in Ruby.

Re: Rsh: Ruby SHell

#8
post #2

"Aliases (called nicks in rsh)" Just, why? Everything else calls them aliases. Everyone knows what an alias is. Is this something that works differently and so needs a different name? If 'alias' was a badly chosen 'standard', then there's a case to try to change it, but 'alias' seems to be quite precise and fitting to me.

Probably because “alias” is a keyword in Ruby.

Sure, and it means exactly what you expect it to mean in ruby (though tinged with 'bad idea', in the case of aliasing variable names), so that's even more reason to use it (find a way to mesh with irb or whatever they're using as 'backend'). It's 'ruby shell' after all.
Post reply on HN