Re: anyone define port types?

2016-06-23 Thread Marko Rauhamaa
Chris Vine : > First, there will always be a use for an event loop to do event-loopy > things, irrespective of whether and how a coroutine interface is put > around it. Sometimes you want to abstract things away, sometimes you > don't. Callback hell is my preferred programming paradigm. Any attem

Re: anyone define port types?

2016-03-31 Thread Marko Rauhamaa
Jan Wedekind : > On Thu, 31 Mar 2016, Marko Rauhamaa wrote: >> (get-x) is only a fig leaf for (slot-ref). In general, no user of an >> object should think the object holds a piece of information >> called x. Instead, you should be interacting with the abstract object >>

Re: anyone define port types?

2016-03-31 Thread Marko Rauhamaa
Barry Fishman : > On 2016-03-30 22:57:25 +0300, Marko Rauhamaa wrote: >> All you can serialize is information. Objects are living things we >> experience through interactions alone. > > Do we really want our computers to behave like organic black boxes? I'll say yes.

Re: anyone define port types?

2016-03-30 Thread Marko Rauhamaa
Jan Wedekind : > On Wed, 30 Mar 2016, Marko Rauhamaa wrote: >> GOOPS' has the worst possible object model: objects are seen as mere >> data records. The concept of a "slot" is an anathema to OOP. > > Ok, I have updated the example to use accessor functions

Re: anyone define port types?

2016-03-30 Thread Marko Rauhamaa
Jan Wedekind : > GOOPS supports "open" classes and multiple-dispatch. E.g. you can extend > the "write" method to control how an object is displayed within the > Guile REPL [1]. Another interesting approach are multi-methods in > Clojure which don't even require explicit types for dispatching. > >

Re: anyone define port types?

2016-03-30 Thread Marko Rauhamaa
Panicz Maciej Godek : > 2016-03-30 19:53 GMT+02:00 Marko Rauhamaa : > The problem with closures is, among others, that they are > non-serializable What is there to serialize in objects? How do you serialize a car? How do you serialize an ant? How do you serialize a person? All you can

Re: Request for feedback on SRFI-126

2015-10-01 Thread Marko Rauhamaa
Arne Babenhauserheide : > Making Scheme as usable as Python requires finding an elegance which > fits Scheme and allows creating applications at least as easily as > with Python — but not necessarily in the same style. The main thing is to keep the S expressions' data/code duality. Python doesn't

Re: Request for feedback on SRFI-126

2015-09-28 Thread Marko Rauhamaa
taylanbayi...@gmail.com (Taylan Ulrich "Bayırlı/Kammer"): > So we are back to square one: anyone who wants to use Scheme for > something real needs to pick a specific implementation, Which is true for other programming languages as well: C, C++, Python, .. For me, in practice, C/C++ is gcc, Pyth