If I can automate it, I
can avoid whole classes of mistakes. Of course, it lets me make the other
classes of mistakes faster and affect more files :)
And that's why the whole world loves computers soooo much! :)
> Of course, not everything the Project Manager does is hook-able; it does
> stuff with the file list before we get the first hook opportunity, and it
> apparently also does other things with classloc fields behind the scenes.
> So as I've tested my framework/project relocations, I've found that an ever
> growing string of
>
>>
Somebody ought to write a presentation... like
http://www.tedroche.com/Present/1999/PjxHooks.html
Excellent, very simple and clear.
What I would have liked is a hook along the lines of "BeforeProjectOpen()",
which runs before the Project Manager does virtually ANYTHING. Then I could
have intercepted whatever it does to figure out that my paths no longer
match, before it pops up the first "Can't find such-and-such...
Locate/Ignore/Punt" message. It would have been cleaner than my solution,
which involves choosing "Ignore" for the first such message, after which
the ProjectHook will correct all of the paths automatically.
Likely needs updating. Too bad there's not a Hacker's Guide for VFP9 :(
I know just the right person to write one... if it was still 2003...
> I'm a big fan of YAGNI:
http://c2.com/cgi/wiki?**YouArentGonnaNeedIt<http://c2.com/cgi/wiki?YouArentGonnaNeedIt>
>
C2 has some great ideas. DRY is another. There have been a number of books
and writings on good programming practices. Some of them are very good,
nearly-universal principles. Some of them really only apply to a narrower
slice of languages or applications. But it's always fun to explore the
ideas, and bounce them off others here. Thanks for bringing up the
discussion.
That's a huge benefit for me. I don't live anywhere near one of the big
cities that still as a VFP user group, so this is where I get my jollies.
Ken Dibble
www.stic-cil.org
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.