Ask a Question related to Ruby, Design and Development.
-
Mark Wilson #1
[OT] Aesthetics of @ and $; [Was: Re: performance and style advice requested]
On Monday, September 15, 2003, at 05:15 PM, Nikolai Weibull wrote:
lol. Aesthetically, I prefer @ to $. One is circular, the other is> * Martin DeMello <martindemello@yahoo.com> [Sep, 15 2003 23:10]:> you realize that you two are discussing which of Ruby's scoping>>>>> It just makes it worse. The $ is ugly for a reason--the use of
>>> global variables is discouraged. The Ruby Way to do it would be
>> Ironically, I find @var far uglier than $var - the @ is denser and
>> blockier, so it takes up a disproportionate amount of visual
>> attention.
> specifiers are prettier than the other, or? this does not seem to me
> to
> have very much to do with the original problem? can't we please keep
> stuff like this out of the threads? it gets really boring following a
> thread when it spans a myriad of subtrees of mildly related topics.
> and
> in any case, using a global variable seems to be fine in such a short
> script, but should of course be an instance variable in any well-formed
> code. and, if you find the 'at' sign (@) to be too dense, using
> another
> font, or creating your own would perhaps fix this?
> [snip]
serpentine. One represents the spiritual, the other lucre.
Aesthetically, I like a little humor in the threads.
Regards,
Mark
Mark Wilson Guest
-
performance and style advice requested
I'm trying to learn some Ruby, so I want to write some Ruby code, starting with my usual favourite fun field -- combinatorial arithmetic related to... -
[OT] 0! [WAS: performance and style advice requested]
Mark Wilson wrote: Well either that or ZERO!, NONE!, I mean it! Seems that that's what I find myself shouting at my 2 year old anyway. Scott -
[OT] 0! [WAS: performance and style advice requested]
0! represents the number of possible permutations of 0 elements, which is 1. See: http://mathworld.wolfram.com/Factorial.html Regards, ... -
Advice on architecture requested
Hi, Would anyone make an architectural suggestion to me? I'm building a web service which will query a DB and return several records' worth of... -
Artistic advice requested
I'm going to try and have a poster made from one of my photos and if it comes out well I will make it a gift to a few friends and family. It's going... -
Alex Martelli #2
Re: [OT] Aesthetics of @ and $; [Was: Re: performance and style advice requested]
Mark Wilson wrote:
...Surely you're jesting? The fine $ symbol is the stylized personal> lol. Aesthetically, I prefer @ to $. One is circular, the other is
> serpentine. One represents the spiritual, the other lucre.
emblem of Sigismondo Malatesta, the Signore of Rimini (and many other
parts in Romagna, too). It's an S, for Sigismondo, entwined with a
I, for Isabella, his life-long lover (I believe he did marry her on
her deathbed, actually, so she was his wife for a very short while).
When not totally stylzed, the I is generally depicted as a tree, and
the S a snake climbing the tree -- the tree of knowledge in the
garden of Eden, and the snake tempting man to reach for knowledge
of Good and Evil that apparently he was not meant to possess.
BTW, the best place to admire the $ symbol and reflect on its deep
symbolism and long history is of course the Tempio Malatestiano in
Rimini -- personally I classify it as the masterpiece of Leon Battista
Alberti, and among the true gems of the Italian Rinascimento revival
of architecture. You'll see the tree-and-snake painted all over the
place, of course.
Nor do I have anything against serpentine symbolism, mind you (would
anyone expect me to, after all?). I just prefer the $ not to abut
other symbols (such as letters and digits) too directly, whence the
preference for $_foo over $foo.
I did think of proposing some outrageous joke, such that the "$"> Aesthetically, I like a little humor in the threads.
stood for "dollar", but given the obvious differences between a S
and a d nobody would of course fall for that. You'd almost think
the symbol was chosen by a bunch of freemason freethinkers who
were aware of the Malatestas' mostly-hidden roles in freemasonry,
Rosicrucianism, and other anti-clerical movements through the
centuries, starting with the Renaissance's rediscovery of Pagan
classicism. Nah, nobody would ever fall for THAT one, either.
Alex
Alex Martelli Guest
-
Martin DeMello #3
Re: [OT] Aesthetics of @ and $; [Was: Re: performance and style advice requested]
Alex Martelli <aleaxit@yahoo.com> wrote:
Actually, the $ symbol is a stylised S, for String, and has its roots in>
> I did think of proposing some outrageous joke, such that the "$"
> stood for "dollar", but given the obvious differences between a S
> and a d nobody would of course fall for that. You'd almost think
BASIC, as ane fule kno.
martin
Martin DeMello Guest



Reply With Quote

