The year is 2019

12345swordy alexanderheistermann at gmail.com
Sat Jul 27 19:49:32 UTC 2019


On Saturday, 27 July 2019 at 18:50:16 UTC, Exil wrote:
> On Saturday, 27 July 2019 at 16:12:35 UTC, 12345swordy wrote:
>> On Saturday, 27 July 2019 at 09:04:45 UTC, Mike Franklin wrote:
>>
>>> I would be perfectly happy with `opImiplicitCast` or some way 
>>> to have implicit constructors.  But Walter has already voiced 
>>> his disapproval of that (See the comments in 
>>> https://github.com/dlang/dmd/pull/10161 for the 
>>> disappointment), so our choices are getting slim.  I'm trying 
>>> to find something he would be willing to approve. If you have 
>>> any ideas, I'm all ears.
>>>
>>> Mike
>>
>> We shouldn't let Walter disapproval effect us. If we think it 
>> a really good idea then we should pursuit it.
>>
>> Walter thinks the opImplicitCast that we are proposing will be 
>> the same thing as C++. It isn't. C++ genius "idea" is to have 
>> implicit conversions opt-out rather then opt-in.
>>
>> -Alex
>
> I don't agree. C++ strings are a good source of how it can be 
> misused.

Any feature can be abused by a stubborn person. That is merely a 
case of bad coding practice rather then the feature itself.


More information about the Digitalmars-d mailing list