food for thought - swift 5 released - bottom types, string interpolation, and stuff.

Dennis dkorpel at gmail.com
Thu Apr 11 21:21:16 UTC 2019


On Thursday, 11 April 2019 at 20:32:33 UTC, mate wrote:
> On Wednesday, 10 April 2019 at 21:39:36 UTC, Walter Bright 
> wrote:
>> On 4/8/2019 11:23 PM, aliak wrote:
>>> [2] 
>>> https://github.com/apple/swift-evolution/blob/master/proposals/0225-binaryinteger-iseven-isodd-ismultiple.md
>>
>>
>> "Stack Overflow questions: c - How do I check if an integer is 
>> even or odd? 300,000+ views java - Check whether number is 
>> even or odd 350,000+ views Check if a number is odd or even in 
>> python 140,000+ views"
>>
>> Huh.
>
> Shocking indeed.

I don't get it. What's shocking about it, that people often need 
to know the parity of a number or that people aren't born with 
the knowledge that the % operator can be used for that?


More information about the Digitalmars-d mailing list