Pure functions in D

Steven Schveighoffer schveiguy at yahoo.com
Tue Sep 23 12:58:31 PDT 2008


"Yigal Chripun" wrote
> Ary Borenszweig wrote:
>> Yigal Chripun wrote:
>>> BCS wrote:
>>>> Reply to Victor,
>>>>
>>>>> I think only stupid American feminists will tread word "he" as
>>>>> "discrimination".
>>>>> I'm sure that Russian girls-programmers just laugh when hear those
>>>>> language perversions for sexual polit-correctness.
>>>>> This is correct for all Russian girls/women, which i know and spoke...
>>>>> Also, for persons speaking English badly (as me) it will be very
>>>>> difficult to use correct USA-specific PC-words.
>>>>>
>>>>> Don't be mad on this shit, i propose!
>>>>>
>>>> I find the gender neutral part funny as well, however once in a while
>>>> being able to explicitly differentiate between gender neutral and 
>>>> either
>>>> gender can be handy: "Officer, I saw him steal the bag,.. Er, it might
>>>> have bean a woman but I'm really don't know"
>>>>
>>>>
>>> in my native language (Hebrew) there is no neutral part at all.
>>> everything is either male, female or (rarely) both. That included stuff
>>> like chair, table (both male), shirt (female) etc.
>>> No such problems as you describe occur in practice (in Hebrew) - either
>>> you use the male form (which is the default):
>>> "I saw someone (in the male form) steal the bag" - is understood to be
>>> someone either male or female. this is because when you say "him",
>>> someone, etc, you refer to a "person" which is a male noun. if you want
>>> to specify that it was indeed a man than just say: "I saw a _man_ ... "
>>
>> I find it most interesting that four versions of "you" exist in hebrew,
>> that are all combinations of "male/female" and "singular/plural".
>
> Isn't it like this in most languages?
> at least I know that Russian has both singular and plural. actually I
> think I read once that English had the same distinction as well but it
> got deprecated or something.

Yes, in English version 2.023, gender specific 'you' was deprecated.  If you 
wish to have a gender specific 'you', use enum:

enum : you {
  she_you,
  he_you
}

-Steve 





More information about the Digitalmars-d mailing list