Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Forth > Re: 'canonical'...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 8 Topic 3973 of 4136
Post > Topic >>

Re: 'canonical' library-set ?

by "H. S. Lahman" <hsl@[EMAIL PROTECTED] > Mar 26, 2008 at 02:08 PM

Responding to problems...

> I think I read sometime ago that [perhaps unix/C] designed a set/s of
> library/s, intended to be a minimal but sufficient set to do 'any' task
?
> But that it is not widely accepted.
> 
> So eg. for strings, you might have:
> * return position of substring in string, else zero;
> ...
> * insert substring in string at position;
> ... etc.
> 
> I imagine programming then being mostly a matter of
> selecting procedures/function out of the library ?
> 
> So you've moved the problem to navigating the library ?
> 
> Which would be heirarchically arranged ?
> eg. > strings > insert > args-description .... ?

Yes -- if you are programming in a procedural or functional language 
this sort of functional decomposition was the basis of Structured 
Development and it is the most intuitive way to build complex modules 
from atomic functional elements like language operators or library 
functions.

> Perhaps java-programmers do this by 'browsing' the methods of classes ?

Not really. OO development uses a completely different paradigm for 
developing program structure. In fact, one can argue that the main goal 
of OO development is to avoid the hierarchical dependencies usually 
associated with functional decomposition. Instead, the OO paradigm 
creates software elements by direct abstraction of problem space 
entities and those elements collaborate on a peer-to-peer basis to solve 
the problem in hand. The browsers provided by the language IDEs are 
primarily a tool for navigating the program structure once it has been 
defined.


-- 
There is nothing wrong with me that could
not be cured by a capful of Drano.

H. S. Lahman
hsl@[EMAIL PROTECTED]
 Solutions
http://www.pathfindermda.com
blog: http://pathfinderpeople.blogs.com/hslahman
"Model-Based Translation: The Next Step in Agile Development".  Email
info@[EMAIL PROTECTED]
 for your copy.
Pathfinder is hiring: 
http://www.pathfindermda.com/about_us/careers_pos3.php.
(888)OOA-PATH
 




 8 Posts in Topic:
'canonical' library-set ?
problems@[EMAIL PROTECTED  2008-03-26 02:01:00 
Re: 'canonical' library-set ?
"jason.cipriani@[EMA  2008-03-26 01:16:15 
Re (2): 'canonical' library-set ?
problems@[EMAIL PROTECTED  2008-03-27 02:27:39 
Re: Re (2): 'canonical' library-set ?
"H. S. Lahman"   2008-03-28 17:36:59 
Re: Re (2): 'canonical' library-set ?
"jason.cipriani@[EMA  2008-03-28 21:34:12 
Re: Re (2): 'canonical' library-set ?
"jason.cipriani@[EMA  2008-03-28 21:40:10 
Re: 'canonical' library-set ?
"H. S. Lahman"   2008-03-26 14:08:44 
Re: 'canonical' library-set ?
Bruce McFarling <agila  2008-03-27 12:25:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 9 6:01:11 CDT 2008.