help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Community sprint


From: Luca Bruno
Subject: Re: [Help-smalltalk] Community sprint
Date: Fri, 29 Sep 2006 12:32:49 +0200
User-agent: Opera Mail/9.01 (Win32)

In data 29 settembre 2006 alle ore 11:52:55, Paolo Bonzini
<address@hidden> ha scritto:


What are my dreams:
1) Have a good set of libraries
2) Create scalable and portable applications in smalltalk (GST is the unique choice at the moment)
3) Have a decent and appealing scripting syntax -- no file-outs.

In what sense? You mean all that code for creating classes and methods should be reinvented for scripting?
Aren't file outs important for bringing out packages?
Class name: #Number extend: #Object [
    Method [
        isNumber
            ^true
    ]
]

or something like that.  No "exclamation-mark separated" file-outs.

Paolo

That would change the syntax... maybe something like this would be
reproducible in a smalltalk-like way:

Object subclass: #Foo
        instanceVariableNames: 'a'
        instanceMethods: {
#'initialize-release' -> {
        'initialize
                a := ''foo'''
}.
#'accessing' -> {
        'a
                ^a'
}}
        ...
!

Logically, using a string is not the best way to define a method (using
#compile:category: in this case) but can be a useful thing at the
beginning.

Also, i see in Squeak that #new calls #initialize, i don't see this
behavior here, what about?

And the homepage? I can continue mine, hoping it'll be enough good to you
all :)

--
http://lethalman.blogspot.com - Thoughts about computer technologies




reply via email to

[Prev in Thread] Current Thread [Next in Thread]