Article View: comp.lang.c
Article #698Re: why &| dont work and its possible to make it work
From: fir
Date: Fri, 23 Oct 2026 07:51
Date: Fri, 23 Oct 2026 07:51
54 lines
3532 bytes
3532 bytes
fir pisze:
> fir pisze:
>> David Brown pisze:
>>> On 22/10/2026 21:40, Scott Lurndal wrote:
>>>> fir <profesor.fir@gmail.com> writes:
>>>>> sady this plan of using | & failed becouse its said that here for
>>>>> example
>>>>>
>>>>> if(target<0 ||target>=bag_max ||!bag[target].enabled) {}
>>>>>
>>>>> if target is -1 in case of | the last one will be evalueated too
>>>>> and it may be segfault
>>>>
>>>> If the first test is true, the remaining tests will not be
>>>> executed.
>>>>
>>>> If you knew C, you'd have known that.
>>>
>>> You missed the point. || and && is ugly and for common, stupid
>>> people. Creative programmers like Fir need to be able to use whatever
>>> syntax they like at the time, and the compiler should know what they
>>> mean - the compiler should /know/ that when Fir writes |, he means
>>> ||. It should be able to tell he means logical or, not bitwise or,
>>> and figure out which order the expressions should be evaluated
>>> regardless of how he writes them.
>>
>> you think so? you shoul better cut the bullshit
>>
>> this is practice btw not much wise people do - they are unable tu
>> understand things so they replace it with some bulshit of their own
>> production and then answer to their own bulshit - its quite _common_
>> practice
>
>
> ofc i get used to it but if they do that - they should do that on their
> own, dont mix it up with me: bulshit of your production is yours not
> mine, also bulshit mental degrading ''ways' are of their own not mine
>
>
some shouldnt be not surprised if someone imposes his own bulshit on me
im getting a bit angry or disgusted ..its quite common reaction not only
mine (though if its common i probably should avoid that some way (as i
said i dont like common), im not sure yet becouse this bulshit in a way
should be repelled so i dont know and im not in a modd to think up
inventive ways here as im focused on some other things
>>>
>>> Anything else is just a critical flaw in C.
>>>
>>
>
Technical Details
Message-ID:
<11bf3mn$1j3mg$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<117mere$3a14a$1@dont-email.me> <11bda5e$vdh3$1@dont-email.me> <%EtCS.3$dnHe.0@fx46.iad> <11bf0ca$1eo7q$1@dont-email.me> <11bf30i$1iq6m$1@dont-email.me> <11bf38b$1ivc9$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: fir <profesor.fir@gmail.com> Newsgroups: comp.lang.c Subject: Re: why &| dont work and its possible to make it work Date: Fri, 23 Oct 2026 09:51:45 +0200 Organization: A noiseless patient Spider Lines: 54 Message-ID: <11bf3mn$1j3mg$1@dont-email.me> References: <117mere$3a14a$1@dont-email.me> <11bda5e$vdh3$1@dont-email.me> <%EtCS.3$dnHe.0@fx46.iad> <11bf0ca$1eo7q$1@dont-email.me> <11bf30i$1iq6m$1@dont-email.me> <11bf38b$1ivc9$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 23 Oct 2026 07:51:52 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1674960"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19/zXq26IdB9T0+9HLCobRWqSxOuxqCNx0="; posting-host="43cad3fa7698c2e9be359f2072ea7249" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0 SeaMonkey/2.53.24 Cancel-Lock: sha1:C5EYuKemYkkfCuFAVnMhEaeZ1dI= sha256:NP6ybROKMFPYnfX5MOwfZHYm4XRTqIrTHp3rDxYQuOQ= sha1:8uLUPROBJL2pa+MQ0q06gXtDz9k= sha256:mSRsEVKeofSNmFy/66sID8sRLj8Muhgw8rgfs0qySXo= In-Reply-To: <11bf38b$1ivc9$1@dont-email.me>