Professional Web Applications Themes

OT: Nice - Ruby

[url]http://nice.sourceforge.net[/url] Very neat language I discovered recently - similar in feel and spirit if not in every specific to Ruby, and a solution to making Java programming fun and productive that doesn't involve embedding an interpreter. martin...

  1. #1

    Default OT: Nice

    [url]http://nice.sourceforge.net[/url]

    Very neat language I discovered recently - similar in feel and spirit if
    not in every specific to Ruby, and a solution to making Java programming
    fun and productive that doesn't involve embedding an interpreter.

    martin
    Martin DeMello Guest

  2. #2

    Default Re: OT: Nice

    On Fri, Aug 01, 2003 at 09:50:54PM +0900, Martin DeMello wrote:
    > [url]http://nice.sourceforge.net[/url]
    >
    > Very neat language I discovered recently - similar in feel and spirit if
    > not in every specific to Ruby, and a solution to making Java programming
    > fun and productive that doesn't involve embedding an interpreter.
    Interesting. I think this is the right approach to take when creating a
    language (make it easy to integrate with code from an already popular
    language). This is exactly how C++ got its start, and I suspect is the
    only way to create a successor to either C++ or Java.

    One question: what is the purpose of the '' character in an argument
    list, e.g.:

    display(pPerson)
    {
    return p.name + " (age=" + p.age + ")";
    }

    And how does it differ from the C-style argument lists:

    void main(String[] args)
    {
    System.out.println("Hello, world!");
    }

    Paul


    Paul Brannan Guest

  3. #3

    Default Re: OT: Nice

    On Fri, Aug 01, 2003 at 10:18:24PM +0900, Paul Brannan wrote:
    > One question: what is the purpose of the '' character in an argument
    > list, e.g.:
    >
    > display(pPerson)
    > {
    > return p.name + " (age=" + p.age + ")";
    > }
    I think it just "declares" p as an instance of Person. So it's not
    really different from the C version.

    > And how does it differ from the C-style argument lists:
    >
    > void main(String[] args)
    > {
    > System.out.println("Hello, world!");
    > }

    --
    Daniel Carrera | PGP: 6643 8C8B 3522 66CB D16C D779 2FDD 7DAC 9AF7 7A88
    Math PhD. UMD | [url]http://www.math.umd.edu/~dcarrera/pgp.html[/url]

    * * * * * Weekly Smile * * * * * * * * * * * * * * * * * * * * * * * *
    Sign in a hotel in Athens:
    Visitors are expected to complain at the office between the hours
    of 9 and 11 A.M. daily.
    * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


    Daniel Carrera Guest

  4. #4

    Default Re: OT: Nice

    >>>>> "P" == Paul Brannan <pbrannanatdesk.com> writes:

    P> One question: what is the purpose of the '' character in an argument
    P> list, e.g.:

    to specialize the argument (it implement multi-dispatch)

    P> And how does it differ from the C-style argument lists:

    apparently functions have a single implementation (no specialization).


    Guy Decoux




    ts Guest

  5. #5

    Default Re: OT: Nice

    ts <decouxmoulon.inra.fr> wrote:
    >>>>>> "P" == Paul Brannan <pbrannanatdesk.com> writes:
    >
    > P> One question: what is the purpose of the '' character in an argument
    > P> list, e.g.:
    >
    > to specialize the argument (it implement multi-dispatch)
    >
    > P> And how does it differ from the C-style argument lists:
    >
    > apparently functions have a single implementation (no specialization).
    Well, a 'default' implementation that the multimethod dispatcher falls
    through to if none of the specialised rules match.

    martin
    Martin DeMello Guest

  6. #6

    Default Re: OT: Nice

    >>>>> "M" == Martin DeMello <martindemello> writes:

    M> Well, a 'default' implementation that the multimethod dispatcher falls
    M> through to if none of the specialised rules match.

    Apparently he make a difference between function and methods

    [url]http://sourceforge.net/mailarchive/forum.php?thread_id=1640098&forum_id=4922[/url]



    Guy Decoux


    ts Guest

  7. #7

    Default Re: OT: Nice

    ts <decouxmoulon.inra.fr> wrote:
    >>>>>> "M" == Martin DeMello <martindemello> writes:
    >
    > M> Well, a 'default' implementation that the multimethod dispatcher falls
    > M> through to if none of the specialised rules match.
    >
    > Apparently he make a difference between function and methods
    >
    > [url]http://sourceforge.net/mailarchive/forum.php?thread_id=1640098&forum_id=4922[/url]
    Oops, sorry - I misunderstood your last post.

    martin
    Martin DeMello Guest

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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