Re: a = Dog.new # a is not a pointer and not a reference?



Joshua Ballanco wrote:
The reason that concepts such as pointer and reference do translate well
between C++ and Ruby is because of this difference in paradigms.

Apologies. That should be "do not translate well"
--
Posted via http://www.ruby-forum.com/.

.



Relevant Pages

  • Re: [ANN] Ruby Hacking Guide Translation
    ... Thank you very much Vincent for your hard work on this, I have been waiting for someone to translate some of the great Japanes ruby textx out there. ... I am pleased to announce that I have translated in English the second ... Japanese name of the book is "Ruby kanzen soosu coodo kaisetsu" (that ...
    (comp.lang.ruby)
  • Re: Should I Learn Ruby as a First Language?
    ... conclusions) I used to translate legal documents professionally, ... competition/pretty girls or guys/whatever:) ... I will keep this approach in mind, it strikes me as very pragmatic and ... to turn Ruby into C or Python like 7stud and some others like to. ...
    (comp.lang.ruby)
  • Re: Forthcoming 2nd ed. of _The Ruby Way_
    ... I've been hoping for a long time someone would translate ... >that "Ruby Internals" book and others like it. ... >"Advanced Ruby" on the cover (without even bothering to open the book ... Japanese books. ...
    (comp.lang.ruby)
  • Re: Using ruby.h to generate C++ vectors and maps
    ... The 'object' variable can represent either a Ruby array or a Ruby hash. ... If it is a Ruby array, I want to translate it to a vector. ... For strings, I know that the function StringValueCStr does ... I couldn't find it in the ruby.h documentation, ...
    (comp.lang.ruby)
  • Re: LISP to Ruby translation
    ... how do you translate this: ... these kind of questions are rarely helpful; ... idiomatic expression out of context from one language is often useless, ... because in a greater context the ruby code might be doing something ...
    (comp.lang.ruby)