Talk:Ruby (programming language): Difference between revisions

Content deleted Content added
m Archiving 1 discussion(s) to Talk:Ruby (programming language)/Archive 1) (bot
Line 26:
 
:All variables that start with a $ are "global variables.2 I do not know who came up with the word "magic global", I think it is a misnomer. Nothing in the source of ruby refers to anything as a "magic global". However, not all global variables are the same in ruby. $1 $2 etc... are somewhat special and volatile, used for regexes. They may tend to "disappear" more rapidly than other variables, when you use a new =~ regex check. [[Special:Contributions/193.83.131.214|193.83.131.214]] ([[User talk:193.83.131.214|talk]]) 11:21, 6 February 2013 (UTC)
 
== Initial purpose? ==
 
Did it have an initial purpose except "promoting fun and productivity" (which is pretty much "good and good")? [[User:Rursus|Rursus]] dixit. ([[User talk:Rursus|<span style="color: red; background: #FFFF80"><sup>m</sup><u>bork<sup>3</sup></u></span>]]!) 08:50, 30 September 2010 (UTC)
 
:Yes. Matz liked perl, but he felt he could do it better. So he wrote ruby, for his own use (more or less). [[Special:Contributions/193.83.131.214|193.83.131.214]] ([[User talk:193.83.131.214|talk]]) 11:19, 6 February 2013 (UTC)
 
== mruby ==