Ouch! The next line is questionable too... vowels := [128]bool{'a': true, 'e': true, 'i': true, ...
10 years, 2 months ago
(2014-03-20 15:00:22 UTC)
#5
Ouch!
The next line is questionable too...
vowels := [128]bool{'a': true, 'e': true, 'i': true, 'o': true, 'u': true,
'y': true}
...given that 'y' is officially a "consonant that is sometimes a vowel."
Many years ago I started the Vowel Movement to rectify this, with the
intent of upgrading Y to "a vowel that is sometimes a consonant." My
feeling was that being a vowel is special so even being one part time puts
you in the club (like being a part-time astronaut or sword-swallower.)
Sadly, I was never able to gather enough support amongst grammarians to
advance the cause.
Michael
On Thu, Mar 20, 2014 at 4:21 AM, <alml@google.com> wrote:
>
> https://codereview.appspot.com/5634046/diff/3001/doc/go_spec.html
> File doc/go_spec.html (right):
>
> https://codereview.appspot.com/5634046/diff/3001/doc/go_
> spec.html#newcode2146
> doc/go_spec.html:2146: primes := []int{2, 3, 5, 7, 9, 2147483647}
> 9 is not prime :-)
>
> https://codereview.appspot.com/5634046/
>
> --
>
> ---You received this message because you are subscribed to the Google
> Groups "golang-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-dev+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
*Michael T. Jones | Chief Technology Advocate | mtj@google.com
<mtj@google.com> | +1 650-335-5765*
Disclaimer. I'm not a grammarian, and even not a native English speaker. But from the ...
10 years, 2 months ago
(2014-03-20 15:10:44 UTC)
#6
Disclaimer. I'm not a grammarian, and even not a native English speaker.
But from the point of common sense, consonant/vowel is a property of a
sound, rather than a letter. Thus "y" should not be a member of this list
(it doesn't denote any sound), and some weird symbols like "æ" should.
And I'm absolutely sure about non-primality of 9 :-)
On Mar 20, 2014 4:00 PM, "Michael Jones" <mtj@google.com> wrote:
> Ouch!
>
> The next line is questionable too...
>
> vowels := [128]bool{'a': true, 'e': true, 'i': true, 'o': true, 'u': true,
> 'y': true}
>
> ...given that 'y' is officially a "consonant that is sometimes a vowel."
> Many years ago I started the Vowel Movement to rectify this, with the
> intent of upgrading Y to "a vowel that is sometimes a consonant." My
> feeling was that being a vowel is special so even being one part time puts
> you in the club (like being a part-time astronaut or sword-swallower.)
> Sadly, I was never able to gather enough support amongst grammarians to
> advance the cause.
>
> Michael
>
> On Thu, Mar 20, 2014 at 4:21 AM, <alml@google.com> wrote:
>
>>
>> https://codereview.appspot.com/5634046/diff/3001/doc/go_spec.html
>> File doc/go_spec.html (right):
>>
>> https://codereview.appspot.com/5634046/diff/3001/doc/go_
>> spec.html#newcode2146
>> doc/go_spec.html:2146: primes := []int{2, 3, 5, 7, 9, 2147483647}
>> 9 is not prime :-)
>>
>> https://codereview.appspot.com/5634046/
>>
>> --
>>
>> ---You received this message because you are subscribed to the Google
>> Groups "golang-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to golang-dev+unsubscribe@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> *Michael T. Jones | Chief Technology Advocate | mtj@google.com
> <mtj@google.com> | +1 650-335-5765 <%2B1%20650-335-5765>*
>
Issue 5634046: code review 5634046: go_spec: primality is elusive
(Closed)
Created 12 years, 3 months ago by r
Modified 10 years, 2 months ago
Reviewers: aml, mtj1, aam
Base URL:
Comments: 1