From David Jones · 1996-04-10 07:22 · #69316 in DRIVING
In reply to Re: VB/TBV/VBC++ (was Cop by David Jones
Noticed Pat Winstanley's message to Paul Walker about Re: VB/TBV/VBC++ (was Cop
PW> For instance I'm writing a suite of educational/puzzle games as a
PW> vehicle to learn Delphi with
Hooray, another convert.
PW> In the case of the project I'm tackling, this re-usability and
PW> inheritance will be extremely useful, and time-saving in the long run
PW> as I now have a set of pre-written objects (methods, properties and
PW> all) sitting in the toolbar as custom components that I can just drop
PW> onto a form and test for messages coming out.
Thing is Pat, you don't have to add them to your Complib unless you
really want to (if only, perhaps, to practice). You can create
instances in code (making sure you add the relavant units to your
project, which is what the IDE would do for you anyhow).
PW> In a single application it wouldn't be worth the effort unless I had a
PW> real reason to expect to use the objects in the future in other
PW> projects.
I don't know. From the point of view of maintainability (because
debug you will) it's a good idea.
Think of a language like SmallTalk, or Java, where /everything/ is
an object (or object method or data member).
___ Blue Wave/QWK v2.12
--- WILDMAIL!/WC v4.12
* Origin: Ooh! BBS, London [MULTILINES] 0181-395-3108 (2:254/233.0)