🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.linux.programowanie
Article #60092

Re: Jak zrobić program obliczający dużą silnię?

#60092
From: Jarosław Siebert
Date: Mon, 24 Oct 2005 11:55
24 lines
1742 bytes
On Mon, Oct 24, 2005 at 11:03:23AM +0200, Jacek Popławski wrote:
> feanoros wrote:
> >            goto p;
> 
> Na jakiej uczelni tak uczą programować?
to wcale nie jest złe - oczywiście zależy od kontekstu w jakim jest użyte.
Np przy wyjściu z pętli w pętli ... dla oszczędności czasu tam gdzie jego
minimalizacja jest wskazana.


pozdrawiam
	iu1j4

p.s.	jak dotąd nie miałem potrzeby korzystać z goto - ale w kernelu są
	przykłady i to dość liczne.
	# grep goto `find linux/drivers/ -name "*.c"` |wc -l
	13125


-- 
               .:  DLJ PROJECT  :.
             .: Jarosław  Siebert :. 
    ........: jsiebert@poczta.wp.pl :.........
  .: Lru: 255615 | tel: 603877428 | Gg: 560046:. 
Technical Details
Message-ID: <20051024135514.GA237@siebert>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <djfrn5$i55$1@nemesis.news.tpi.pl> <dji80k$2a5$2@atlantis.news.tpi.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Jarosław Siebert <jsiebert@poczta.wp.pl>
Newsgroups: pl.comp.os.linux.programowanie
Subject: Re: Jak zrobić program
 obliczający dużą silnię?
Date: Mon, 24 Oct 2005 11:55:53 +0000 (UTC)
Organization: tp.internet - http://www.tpi.pl/
Lines: 24
Message-ID: <20051024135514.GA237@siebert>
References: <djfrn5$i55$1@nemesis.news.tpi.pl> <dji80k$2a5$2@atlantis.news.tpi.pl>
NNTP-Posting-Host: uv110.internetdsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1130154953 7056 80.55.151.110 (24 Oct 2005 11:55:53 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Mon, 24 Oct 2005 11:55:53 +0000 (UTC)
In-Reply-To: <dji80k$2a5$2@atlantis.news.tpi.pl>
User-Agent: mutt-ng/devel-r529 (NetBSD)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit