[gambit-list] How to express javascript prototypes

Adam adam.mlmb at gmail.com
Mon Dec 21 08:59:45 EST 2015


Ben,

How to solve one and the same problem in a dynamic prototype class language
and in a compiled single-inheritance class language is a general
programming question.

Your problem description is too unspecific to give any relevant answer.

Adam


2015-12-21 20:39 GMT+08:00 ben yakawp <ben.lists at yakawp.com>:

> hi
> I have a the following problem: Initially I was looking for a simple way
> to write code on several platforms with scheme as the "reference
> platform". This is more difficult then I thought because most of the
> target languages have libraries that are build with an OO model. That
> leaks into the platform neutral source code, so that you write scheme
> but with OO in mind. Now I see a next problem, that of Javascript making
> extensive use of "prototyping", again a specific model that has to be
> ported to other languages.
>
> So my question is, how would you express prototyping in a platform
> neutral way, so that you can (hypothecally) use the source code also for
> target languages that don't support prototyping.
>
> Hopefully I don't make this much more complicated than it is.
> Ben
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://webmail.iro.umontreal.ca/pipermail/gambit-list/attachments/20151221/fc5b83f7/attachment.html 


More information about the Gambit-list mailing list