Deutsch English Français Italiano |
<utpm1q$1ovte$2@solani.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Physfitfreak <Physfitfreak@gmail.com> Newsgroups: comp.os.linux.advocacy Subject: Re: Why Python When There Is Perl? Date: Sun, 24 Mar 2024 11:57:31 -0500 Message-ID: <utpm1q$1ovte$2@solani.org> References: <17be420c4f90bfc7$63225$1585792$802601b3@news.usenetexpress.com> <utd86u$1ipcj$1@solani.org> <17be75acfaf8f0f4$2017$3384359$802601b3@news.usenetexpress.com> <utfol0$1k8j7$1@solani.org> <17bebbae334656b9$74345$2906873$802601b3@news.usenetexpress.com> <utiopt$2i4i5$1@dont-email.me> <17bf321f9c15028e$2$2218499$802601b3@news.usenetexpress.com> <utlbto$38pmm$1@dont-email.me> <utltt2$1n3m4$1@solani.org> <utniif$1o32m$2@solani.org> <utnjpc$3sqhf$3@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 24 Mar 2024 16:57:30 -0000 (UTC) Injection-Info: solani.org; logging-data="1867694"; mail-complaints-to="abuse@news.solani.org" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:1k5gIpdQyKlKo2+u0Og8mFb6RUk= X-Antivirus: Avast (VPS 240324-6, 3/24/2024), Outbound message Content-Language: en-US X-Antivirus-Status: Clean X-User-ID: eJwFwYERADEIArCV6gnYdaov+4/wCVOhKYgCTetD8fEwW3gEzltcJx1nXRWcHl0fwuON6izn1Da06/4BRPMV+g== In-Reply-To: <utnjpc$3sqhf$3@dont-email.me> Bytes: 2360 Lines: 21 On 3/23/2024 5:06 PM, Lawrence D'Oliveiro wrote: > Aka “the law of the excluded middle”. Remember, we are working in an > algebra where variables only have two possible values. If you want to add > a third value, you end up with a different algebra. Then why would a programmer do that? AND and OR both single out a case out of four possibilities, by looking for a case when both sides of the operator match. But IMP seems to be an attempt to introduce and single out a case where _only_ the left side be 1 and the right side be 0. I don't understand what was the motive behind introducing this into programming language. The same singling out is very easily arranged with using an AND operator. "if (A = 1) AND (B = 0) then you get a False". -- This email has been checked for viruses by Avast antivirus software. www.avast.com