home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.std.c++
- Path: sparky!uunet!munnari.oz.au!metro!extro.ucc.su.OZ.AU!maxtal
- From: maxtal@extro.ucc.su.OZ.AU (John MAX Skaller)
- Subject: Re: Nested functions (was: Re: Zero-length structures and pointer comparisons)
- Message-ID: <1992Dec17.204522.2211@ucc.su.OZ.AU>
- Sender: news@ucc.su.OZ.AU
- Nntp-Posting-Host: extro.ucc.su.oz.au
- Organization: MAXTAL P/L C/- University Computing Centre, Sydney
- References: <9235019.15484@mulga.cs.mu.OZ.AU> <24413@alice.att.com> <BzBHn4.26J@ssesco.com>
- Date: Thu, 17 Dec 1992 20:45:22 GMT
- Lines: 25
-
- In article <BzBHn4.26J@ssesco.com> nau@ssesco.com (William Nau) writes:
- >
- >It suggests that they didn't properly test that release. Given
- >a decent design, it's not asking that much out of a high level
- >language. It does amaze me that this wonderful object oriented
- >language does not allow for nested functions.
- >
-
- Some OO people claim nested functions are anathema to
- good OO design. I have read the arguments, they relate to
- cleanly dividing the problem up, and removing coupling.
-
- Nested function have an implicit interface
- (bad design concept) to their enclosing scope.
-
- Not being a religious OO convert, and finding
- in practice I could use nested functions here and there,
- I would support their introduction, however.
-
-
- --
- ;----------------------------------------------------------------------
- JOHN (MAX) SKALLER, maxtal@extro.ucc.su.oz.au
- Maxtal Pty Ltd, 6 MacKay St ASHFIELD, NSW 2131, AUSTRALIA
- ;--------------- SCIENTIFIC AND ENGINEERING SOFTWARE ------------------
-