Safe Navigation Operator “?.” for D2 ?

deadalnix deadalnix at gmail.com
Sat Mar 1 17:28:30 PST 2014


On Saturday, 1 March 2014 at 07:10:56 UTC, Araq wrote:
>> The problem when you chain is that you make a lot of code 
>> dependent on the structure of the project, which makes it hard 
>> to evolve or maintain the project, as any change in the 
>> structure will impact more code than it should.
>>
>
> Even if that would be true,

It is.

> the "refactoring über alles" OO crowd
> couldn't care less...

Could you teach me some of you mind reading capabilities ?

> You refactor. Problem solved.

So, to make refactoring easier, you refactor. I knew the 
functional crowd liked recursence, but I just learnt that tail 
recusrion can also be used to crate circular logic.

> Massive code
> restructuring is embraced in the OO world because OO encourages
> bad design like no other paradigm.

The anti OO world don't need that, as they know all future 
evolution at day one. Probably because they do not have users.


More information about the Digitalmars-d mailing list