From: jellyfish@pisem.net
To: community@altlinux.ru
Subject: Re: [JT][Comm] Postfix - smtp - HELO
Date: Mon, 4 Nov 2002 22:15:51 +0300
Message-ID: <20021104191551.GD3451@alex> (raw)
In-Reply-To: <20021101181314.GI40639@netch.kiev.ua>
On Fri, Nov 01, 2002 at 08:13:14PM +0200, Valentin Nechayev wrote:
> > goto - не кошерно :)
>
> Я не принадлежу к религиозным фанатикам структурного программирования.
> Если кто-то считает, что в другом виде, очень структурном, этот патч выглядит
> лучше - вперед и с песней. А если основная цель - минимизация объема патча -
> то ничего лучше goto здесь не найти.
>
> P.S. Выбросьте тогда и ядро Linux, там этих goto как собак нерезаных.
* Я не коим образом не хотел никого обидеть, или даже задеть.
* Обратите внимание на :) в конце строки.
* Просто последний раз я использовал goto во времена СССР в
каком-то примитивном бэйсике (это были даже не PC), поскольку
не было альтернативы. Не по религиозным соображениям - не было причин.
Поэтому патч мне показался несколько необычным.
* мне кажется конструкцию вида:
if(!var) goto L1;
// 1 ...
L1:
// 2 ...
----
всегда можно заменить на алгоритмически эквивалентную ей:
if(var){
// 1 ...
}
// 2 ...
* я не пытаюсь никого учить, просто высказал своё скромное мнение
:)
С уважением,
jellyfish
prev parent reply other threads:[~2002-11-04 19:15 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-23 11:50 [Comm] dcop kmail Alexander Mayorov
2002-10-23 17:54 ` Vitaly Lipatov
2002-10-23 19:42 ` Alexander Mayorov
2002-10-24 3:28 ` Re[2]: " ASA
2002-10-28 7:08 ` [Comm] Postfix - smtp - HELO Alex Borisov
2002-10-28 9:37 ` Igor Homyakov
2002-10-28 10:40 ` Re[2]: " Alex Borisov
2002-10-28 11:44 ` Igor Homyakov
2002-10-30 12:25 ` Valentin Nechayev
2002-10-30 20:16 ` [JT][Comm] " jellyfish
2002-10-31 8:20 ` Ilia Menchikh
2002-10-31 9:03 ` Re[2]: " Alex Borisov
2002-11-01 18:14 ` Valentin Nechayev
2002-10-31 10:21 ` Igor Homyakov
2002-11-01 18:13 ` Valentin Nechayev
2002-11-04 19:15 ` jellyfish [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021104191551.GD3451@alex \
--to=jellyfish@pisem.net \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git