Article View: news.software.readers
Article #72313Re: Some comments on Noworyta 1.4
From: Jan Schaumann
Date: Mon, 19 Feb 2001 21:38
Date: Mon, 19 Feb 2001 21:38
31 lines
2569 bytes
2569 bytes
* Terje Bless wrote:
> In article <slrn9931d6.a3v.jschauma@www.netmeister.org>,
> Jan Schaumann <jschauma@netmeister.org> wrote:
>
> >unless ($humorEnabled || $canDetectSarcasm)
> > printf "Please add Smileys where appropriate.";
>
> This code has bugs. You're using the logical "or" shortcircuit operator
> "||" here, when what you want is the locial "and" operator;
No, I don't. For my postings it is fully sufficient of either one (or
both) of the flags is set. The order is carefully choosen as well: if
$humorEnabled, the statement evaluates to true and $canDetectSarcasm is
not even tested. IMHO, $humorEnabled is sufficient, as usually
including $canDetectSarcasm. If $humorEnabled is false, we need to
check whether or not $canDetectSarcasm. Iff neither one is true, we
need them dammn smileys.
I do need braces, tho, that is correct.
-Jan
P.S.: fup2 poster
--
Jan Schaumann <http://www.netmeister.org>
unless ($humorEnabled || $canDetectSarcasm)
{printf "Please add Smileys where appropriate.";}
Technical Details
Message-ID:
<slrn9934m0.a9m.jschauma@www.netmeister.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!newsfeed.uchicago.edu!vixen.cso.uiuc.edu!howland.erols.net!newsfeed.skycache.com!Cidera!news-sjo.usenetserver.com!news-out.usenetserver.com!e3500-chi1.usenetserver.com.POSTED!jschaumaReferences:
<Xns904BEC74FF3CBYazorman@127.0.0.1> <96p34t$mak1q$1@ID-70408.news.dfncis.de> <96p46i$a9n$1@zingo.tninet.se> <Xns904CC6E8620BBYazorman@127.0.0.1> <96p8j4$lh0u5$1@ID-70408.news.dfncis.de> <96p9ss$m5bru$1@ID-70408.news.dfncis.de> <PA389tU+eDk6EAwi@crowfam.org.uk> <96ro60$men5t$1@ID-70408.news.dfncis.de> <slrn9931d6.a3v.jschauma@www.netmeister.org> <190220012227238371%link@tss.no>Show Full Headers
Complete Article Headers
Message-ID: <slrn9934m0.a9m.jschauma@www.netmeister.org> Subject: Re: Some comments on Noworyta 1.4 Date: Mon, 19 Feb 2001 21:38:51 GMT From: jschauma@netmeister.org (Jan Schaumann) References: <Xns904BEC74FF3CBYazorman@127.0.0.1> <96p34t$mak1q$1@ID-70408.news.dfncis.de> <96p46i$a9n$1@zingo.tninet.se> <Xns904CC6E8620BBYazorman@127.0.0.1> <96p8j4$lh0u5$1@ID-70408.news.dfncis.de> <96p9ss$m5bru$1@ID-70408.news.dfncis.de> <PA389tU+eDk6EAwi@crowfam.org.uk> <96ro60$men5t$1@ID-70408.news.dfncis.de> <slrn9931d6.a3v.jschauma@www.netmeister.org> <190220012227238371%link@tss.no> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!newsfeed.uchicago.edu!vixen.cso.uiuc.edu!howland.erols.net!newsfeed.skycache.com!Cidera!news-sjo.usenetserver.com!news-out.usenetserver.com!e3500-chi1.usenetserver.com.POSTED!jschauma Newsgroups: news.software.readers Followup-To: poster User-Agent: slrn/0.9.6.3 (Linux) Lines: 29 X-Complaints-To: abuse@usenetserver.com X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly. NNTP-Posting-Date: Mon, 19 Feb 2001 16:38:51 EST Organization: WebUseNet Corp http://www.usenetserver.com - Home of the fastest NNTP servers on the Net.