[OT] Aesthetics of @ and $; [Was: performance and style advice requested]

Ask a Question related to Ruby, Design and Development.

  1. #1

    Default [OT] Aesthetics of @ and $; [Was: Re: performance and style advice requested]


    On Monday, September 15, 2003, at 05:15 PM, Nikolai Weibull wrote:
    > * Martin DeMello <martindemello@yahoo.com> [Sep, 15 2003 23:10]:
    >>> 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.
    > you realize that you two are discussing which of Ruby's scoping
    > 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]
    lol. Aesthetically, I prefer @ to $. One is circular, the other is
    serpentine. One represents the spiritual, the other lucre.
    Aesthetically, I like a little humor in the threads.

    Regards,

    Mark


    Mark Wilson Guest

  2. Similar Questions and Discussions

    1. 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...
    2. [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
    3. [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, ...
    4. 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...
    5. 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...
  3. #2

    Default Re: [OT] Aesthetics of @ and $; [Was: Re: performance and style advice requested]

    Mark Wilson wrote:
    ...
    > lol. Aesthetically, I prefer @ to $. One is circular, the other is
    > serpentine. One represents the spiritual, the other lucre.
    Surely you're jesting? The fine $ symbol is the stylized personal
    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.

    > Aesthetically, I like a little humor in the threads.
    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
    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

  4. #3

    Default Re: [OT] Aesthetics of @ and $; [Was: Re: performance and style advice requested]

    Alex Martelli <aleaxit@yahoo.com> wrote:
    >
    > 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
    Actually, the $ symbol is a stylised S, for String, and has its roots in
    BASIC, as ane fule kno.

    martin
    Martin DeMello Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139