Clement,

Hmm, as far as I've read (and I haven't read much), all methods have an obligatory return type.

But you can write let a = "some text", so I guess you are right. And me probably too ;-)

Joachim




Am 03.06.14 09:10, schrieb Clément Bera:



2014-06-03 8:40 GMT+02:00 jtuc...@objektfabrik.de <mailto:jtuc...@objektfabrik.de> <jtuc...@objektfabrik.de <mailto:jtuc...@objektfabrik.de>>:

    I remember seeing a demo of F# at an Eclipse conference a few
    years ago. It also very much reminded me of Smalltalk.

    What's interesting about swift is not only that Apple chose an
    existing name for their new programming language (interesting for
    a company that is very careful about their own brand names), but
    that swift seems to be statically typed, while one of the biggest
    advantages of Objective-C is that it allows for dynamic typing (to
    some extent)...


To what I understand, types are inferred, it is not statically typed. Am I wrong ?

Clement


    Joachim

    Am 03.06.14 08:33, schrieb darrinm:

        This is the sort of thing Smalltalk seems well suited for
        (live coding w/
        value and iteration display). Does anyone know of something
        like it that has
        been done before in Smalltalk?

        I don't have a good link to a demonstration purely of the
        Playground but
        there is a little info here: https://developer.apple.com/swift/




        --
        View this message in context:
        http://forum.world.st/Xcode-s-Swift-Playground-tp4761425.html
        Sent from the Pharo Smalltalk Users mailing list archive at
        Nabble.com.




-- ----------------------------------------------------------------------- Objektfabrik Joachim Tuchel mailto:jtuc...@objektfabrik.de <mailto:jtuc...@objektfabrik.de>
    Fliederweg 1 http://www.objektfabrik.de
    D-71640 Ludwigsburg http://joachimtuchel.wordpress.com
    Telefon: +49 7141 56 10 86 0 <tel:%2B49%207141%2056%2010%2086%200>
            Fax: +49 7141 56 10 86 1 <tel:%2B49%207141%2056%2010%2086%201>





--
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel          mailto:jtuc...@objektfabrik.de
Fliederweg 1                         http://www.objektfabrik.de
D-71640 Ludwigsburg                  http://joachimtuchel.wordpress.com
Telefon: +49 7141 56 10 86 0         Fax: +49 7141 56 10 86 1

Reply via email to