🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18006

Re: Local procedures.

#18006
From: Art Nelson
Date: Sun, 30 Aug 1998 00:00
26 lines
1562 bytes
I knew about nested classes but hadn't thought of them in the context of
local
procedures because I thought they would be overly complicated to use.  I can
imagine the power though.

Thanks for the input.

Art

Steve Schafer (TeamB) wrote:

> On Sat, 29 Aug 1998 13:55:27 -0400, Art Nelson <art@vineyard.net>
> wrote:
>
> >My understanding is that Java does not support local procedures.  I have
> >found local procedures are really handy because they allow you to beak
> >up a procedure with out cluttering up the rest of the program.
>
> Strictly speaking, Java doesn't have procedures at all. Everything is
> based on a class model, and all "procedures" are in fact methods of a
> class, so the notion of nested procedures isn't applicable. JDK 1.1
> introduced the idea of "inner classes" (classes defined wholly within
> another class), and these inner classes have characteristics that are
> in some way analogous to nested procedures in other languages.
>
> -Steve
Technical Details
Message-ID: <35E9C613.F1FD4F1C@vineyard.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <35E8408E.71695BB2@vineyard.net> <360c97d7.220708941@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,fb20456a429a878e
X-Google-Attributes: gidf74b3,public
From: Art Nelson <art@vineyard.net>
Subject: Re: Local procedures.
Date: 1998/08/30
Message-ID: <35E9C613.F1FD4F1C@vineyard.net>
X-Deja-AN: 386252626
Content-Transfer-Encoding: 7bit
References: <35E8408E.71695BB2@vineyard.net> <360c97d7.220708941@forums.borland.com>
To: pandeng@telepath.com
Content-Type: text/plain; charset=us-ascii
Organization: CROW Computer
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language