- ASCII file handling

From: CFB Software <"CFB>
Date: Thu, 1 Jun 2006 10:15:42 +0930

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

> -----Original Message-----
> From: blackbox{([at]})nowhere.xy
> Behalf Of Rex Couture
> Sent: Thursday, 1 June 2006 4:06 AM
> To: BlackBox Mailing List
> Subject: [BlackBox] - ASCII file handling
>
> At 03:15 AM 5/25/2006, Robert Campbell wrote:
> >People like to write their own! That way it operates as they wish
> >rather than according to someone elses 'odd' ideas of a good design.
>
> >Or am I wrong? Would a 'good' ASCII module be a real asset to the
> >community.
>
> I don't think people like to write their own, but
> they do like good design. I think they only write their own
> either if existing code is somehow unsatisfactory -- maybe
> too complicated, simplistic, or verbose. Rolling your own is
> a big waste of time, but so is using a Swiss Army module.*
>

You've hit the nail right on the head.

The main reason I might complain about not having a 'good' ASCII (or similar
general-purpose) module is when porting relatively basic programs e.g. from
POW to / from ETH Oberon to / from BB. The simple modules available (e.g.
In, Out) are too simple, but the more useful modules are too different.

Designing 'good' general-purpose libraries is a work of art. (* I did start
to write something here about the Oakwood libraries but I'll save that to
for a separate discussion *)

I wouldn't advocate continually re-inventing the wheel. However, sometimes
the effort of learning how to use a third party module, and the risk of
having to debug it when it doesn't seem to behave as you thought it should,
is greater than the effort and risk of writing your own.

Regards,

Chris Burrows
CFB Software
http://www.cfbsoftware.com
 

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



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

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCB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mF0ZSBkaXNjdXNzaW9uICopXHBhcg0KXHBhcg0KSSB3b3VsZG4n
dCBhZHZvY2F0ZSBjb250aW51YWxseSByZS1pbnZlbnRpbmcgdGhlIHdoZWVsLiBIb3dldmVyLCBz
b21ldGltZXNccGFyDQp0aGUgZWZmb3J0IG9mIGxlYXJuaW5nIGhvdyB0byB1c2UgYSB0aGlyZCBw
YXJ0eSBtb2R1bGUsIGFuZCB0aGUgcmlzayBvZlxwYXINCmhhdmluZyB0byBkZWJ1ZyBpdCB3aGVu
IGl0IGRvZXNuJ3Qgc2VlbSB0byBiZWhhdmUgYXMgeW91IHRob3VnaHQgaXQgc2hvdWxkLFxwYXIN
CmlzIGdyZWF0ZXIgdGhhbiB0aGUgZWZmb3J0IGFuZCByaXNrIG9mIHdyaXRpbmcgeW91ciBvd24u
XHBhcg0KXHBhcg0KUmVnYXJkcyxccGFyDQpccGFyDQpDaHJpcyBCdXJyb3dzXHBhcg0KQ0ZCIFNv
ZnR3YXJlXHBhcg0KaHR0cDovL3d3dy5jZmJzb2Z0d2FyZS5jb21ccGFyDQogXHBhcg0KXHBhcg0K
LS0tIEJsYWNrQm94XHBhcg0KLS0tIHNlbmQgc3ViamVjdCBIRUxQIG9yIFVOU1VCU0NSSUJFIHRv
IGJsYWNrYm94QG9iZXJvbi5jaFxwYXINClxwYXINCn0=


----boundary-LibPST-iamunique-1185694319_-_---
Received on Thu Jun 01 2006 - 02:45:42 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:27:57 UTC