On 11 September 2010 13:58, David Gowers <[email protected]> wrote:
> On Sat, Sep 11, 2010 at 2:11 AM, Mike Caron <[email protected]> wrote:
>> It depends on the situation. It boils down to has-a vs is-a, really. Or, on
>> other words, if it looks like a duck, quacks like a duck, and has a feathers
>> property, but was created by CreateChimera(), can we still treat it as a
>> duck?
>>
>> (Lua, Python and Javascript say yes. C/++, FreeBasic and others say no)
> Lua, Python, and Javascript are all far more like current HamsterSpeak
> than any of the statically typed languages you mention.
>
> IMO, Lua has a good deal in common philosophically with HS, while
> doing things in a cleaner way; hence I'd put it forward as a good
> model for what you want to do.

Really? Why do you say that? HS is so simple that I think there are
hardly any phenotypes to compare with such languages.

>>> A whimsical thought: it occurred to me that using : instead of . would
>>> be more idiomatic for HS.
>>
>> Just a minor problem: All 12 hojillion constants that already use :
>
> Not to mention that if attribute access is meant to become common, you
> don't want to place additional obstacles (Shift+;  for every attribute
> access, vs .) in the way of the script writer.

Fatal points.

However, I'm wondering whether whitespace in identifiers makes period
suboptimal?
viking ship sail.sort children(false)
It almost seems to get lost in there. Are we going see people
formatting their code in strange ways?
viking ship sail. sort children (false)
viking ship sail . sort children (false)
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to