- Why you should use CP. (Was: Hardware and DLL interfacinginBlackBox)

From: [at]} <tei>
Date: Thu, 17 Feb 2005 03:16:38 +0100

----boundary-LibPST-iamunique-1033522980_-_-
Content-type: text/plain

Nice work.

Anyway strongly typed langs are not for everyone, and frameworks are too
a problem for some people.

Because the strongly-typed feature its very dificult to code for BB, but
the resulting code its safer. Mostly because vars are already appropiate
and data conversion of types are under programmer control.

I like some interesting BB features, like closures. Javascript also
support closures but its not strongly typed.

If you really want fun, here its a Javascript scheme portage ('potage' in
spanish)

http://www.crockford.com/javascript/little.html

Yet another fun lang its Smalltask 80. You can get something fun here:
http://www.squeak.org/
http://www.squeakland.org/

My point its:

Component Pascal has nice features, has Javascript, Scheme and Smalltalk.
   But its not for everyone, and not for people that hate frameworks.

Imho.



Rex Couture wrote:
> At 02:56 PM 2/15/2005 -0500, Wojtek Skulski wrote:
>
>> I added a handful of new slides on HW and DLL interfacing to my
>>presentation that is available at
http://www.pas.rochester.edu/~skulski/
>>The new slides start at slide 76. The examples were lifted from many HW
>>interface modules that we now have in the lab. I hope the examples may
>>help someone who is interfacing DLLs or hardware with BlackBox.
>
>
>
> Congratulations! This is a superb demonstration of the simplicity and power of CP and Oberon. It's hard to imagine a clearer or more persuasive presentation to suck users into CP, and I mean that in the nicest way.
>
> For what it's worth, here are a few of the aspects that I liked most:
>
> 1. The ability to start software almost anywhere during development and testing (pp 52-53). Unless I am missing something, this is an incredibly powerful paradigm, and it's as simple as it can be. This ought to greatly ease testing small pieces of large programs.
>
> 2. The automatic GUI builder. "GUI code does not even exist." (p. 74).
>
> 3. The ease of specifying public and private fields and methods in a record or object.
>
> 4. The ease of extending records and objects in client modules (without having to restructure anything, and without needless proliferation of type names). OK, this description is mostly from Wirth, but I still like it.
>
> 5. And finally, I wish I could say that Delphi has not crashed for me and that code has always worked as written, but alas I cannot. If your programs virtually never crashes, it doesn't get any better than that.
>
> 6. The DLL interfacing demonstration.
>
> I suppose those points were out there somewhere waiting to be appreciated, but somehow I missed them in the noise. If anyone is teetering on the brink of a choice of language, by all means have a look at that presentation.
>
> Sincerely,

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy



----boundary-LibPST-iamunique-1033522980_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIE5pY2Ugd29yay5ccGFyDQpccGFyDQpBbnl3YXkg
c3Ryb25nbHkgdHlwZWQgbGFuZ3MgYXJlIG5vdCBmb3IgZXZlcnlvbmUsIGFuZCBmcmFtZXdvcmtz
IGFyZSB0b28gXHBhcg0KYSBwcm9ibGVtIGZvciBzb21lIHBlb3BsZS5ccGFyDQpccGFyDQpCZWNh
dXNlIHRoZSBzdHJvbmdseS10eXBlZCBmZWF0dXJlIGl0cyB2ZXJ5IGRpZmljdWx0IHRvIGNvZGUg
Zm9yIEJCLCBidXQgXHBhcg0KdGhlIHJlc3VsdGluZyBjb2RlIGl0cyBzYWZlci4gTW9zdGx5IGJl
Y2F1c2UgdmFycyBhcmUgYWxyZWFkeSBhcHByb3BpYXRlIFxwYXINCmFuZCBkYXRhIGNvbnZlcnNp
b24gb2YgdHlwZXMgYXJlIHVuZGVyIHByb2dyYW1tZXIgY29udHJvbC5ccGFyDQpccGFyDQpJIGxp
a2Ugc29tZSBpbnRlcmVzdGluZyBCQiBm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ueSBiZXR0ZXIgdGhhbiB0aGF0LlxwYXIN
Cj4gXHBhcg0KPiA2LiBUaGUgRExMIGludGVyZmFjaW5nIGRlbW9uc3RyYXRpb24uXHBhcg0KPiBc
cGFyDQo+ICAgICAgICAgSSBzdXBwb3NlIHRob3NlIHBvaW50cyB3ZXJlIG91dCB0aGVyZSBzb21l
d2hlcmUgd2FpdGluZyB0byBiZSBhcHByZWNpYXRlZCwgYnV0IHNvbWVob3cgSSBtaXNzZWQgdGhl
bSBpbiB0aGUgbm9pc2UuICBJZiBhbnlvbmUgaXMgdGVldGVyaW5nIG9uIHRoZSBicmluayBvZiBh
IGNob2ljZSBvZiBsYW5ndWFnZSwgYnkgYWxsIG1lYW5zIGhhdmUgYSBsb29rIGF0IHRoYXQgcHJl
c2VudGF0aW9uLlxwYXINCj4gXHBhcg0KPiBTaW5jZXJlbHksXHBhcg0KXHBhcg0KLS0tIEJsYWNr
Qm94XHBhcg0KLS0tIHNlbmQgc3ViamVjdCBIRUxQIG9yIFVOU1VCU0NSSUJFIHRvIGJsYWNrYm94
QG9iZXJvbi5jaH19ADEwMCAoQ0VUKQ0=


----boundary-LibPST-iamunique-1033522980_-_---
Received on Thu Feb 17 2005 - 03:16:38 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:28:24 UTC