News for hackers. Stuff that matters.
Re:“Ask 'why' five times about every matter” by hoodoof on Monday May 09, 2016 @05:21AM (#11658456)
"Why do vehicle manufacturers lie about emissions?"

"Why do vehicle manufacturers lie about emissions?"

"Why do vehicle manufacturers lie about emissions?"

"Why do vehicle manufacturers lie about emissions?"

"Why do vehicle manufacturers lie about emissions?"

Re:“Ask 'why' five times about every matter” by ajuc on Monday May 09, 2016 @05:25AM (#11658475)
It's supposed to be

   why(why(why(why(why(theMatter))));
not

   why(theMatter);
   why(theMatter);
   why(theMatter);
   why(theMatter);
   why(theMatter);
Re:“Ask 'why' five times about every matter” by spyrosg on Monday May 09, 2016 @05:54AM (#11658596)
Careful, enough why()'s and you invariably get nil. This is a pointer your employer probably doesn't want you to follow.
Re:“Ask 'why' five times about every matter” by ajuc on Monday May 09, 2016 @06:00AM (#11658614)
I usually get "Because BIG BANG".

But good point - you want the why function to write the intermediate answers somewhere as a side effect.

Re:“Ask 'why' five times about every matter” by mrspeaker on Monday May 09, 2016 @09:38AM (#11659719)
I'd be interested to know why(Because BIG BANG)
Re:“Ask 'why' five times about every matter” by johnchristopher on Monday May 09, 2016 @06:18AM (#11658673)
Do not ask `Why?` Be cautious with `How?` `Why?` leads inexorably to paradox.
Re:“Ask 'why' five times about every matter” by zappo2938 on Monday May 09, 2016 @05:39AM (#11658537)
When I'm interviewing for a job at VW and they ask this question, I can deflect with my curry skills.
Re:“Ask 'why' five times about every matter” by erac1e on Monday May 09, 2016 @05:41AM (#11658551)
compiler error at line 1. unmatched parenthesis.

... oh don't worry it's a loosely bracketed language.

Re:“Ask 'why' five times about every matter” by marcosdumay on Monday May 09, 2016 @05:09PM (#11663228)
That's one of the best points of Haskell:

why . why . why . why . why $ theMatter

Re:“Ask 'why' five times about every matter” by erac1e on Friday May 13, 2016 @04:43AM (#11689328)
Actually that is point-free
Re:“Ask 'why' five times about every matter” by TazeTSchnitzel on Monday May 09, 2016 @05:54AM (#11658598)
In a stack language:

  theMatter why why why why why
Re:“Ask 'why' five times about every matter” by kamaal on Monday May 09, 2016 @12:27PM (#11661026)
I think its more like:

    Answer Why(Answer question) {
        if(validDivisibleQuestion(question){
            return Why(question);
        }
    }
I guess this is how our mind handles stuff too, and because of the stack issues is why working things on papers works better than doing it in mind.
Re:“Ask 'why' five times about every matter” by prmph on Monday May 09, 2016 @06:35AM (#11658738)
Well, that's possible. But sometimes also the whys are mutually recursive.

"Why is X unelectable? Because realistically no one will vote for him. And why will no one vote for him? Because he is unelectable"

Re:“Ask 'why' five times about every matter” by kamaal on Monday May 09, 2016 @12:59PM (#11661299)
I think the worst case scenario is an answer that forms a question, which lead to the answer framing the very question.

Infinite recursion. Basically.

Re:“Ask 'why' five times about every matter” by KhalilK on Monday May 09, 2016 @05:36AM (#11658530)
You could keep the second form but use a ditto operator instead;

   why(theMatter);
   why(%);
   why(%);
   why(%);
   why(%);
Re:“Ask 'why' five times about every matter” by hoodoof on Monday May 09, 2016 @05:35AM (#11658524)
A bug that I will blame on unclear requirements.
Re:“Ask 'why' five times about every matter” by christogreeff on Monday May 09, 2016 @05:54AM (#11658597)
Why?
Re:“Ask 'why' five times about every matter” by amelius on Monday May 09, 2016 @05:40AM (#11658546)
That sounds very meta.
Re:“Ask 'why' five times about every matter” by rmc on Monday May 09, 2016 @05:36AM (#11658532)
Because they make money and it takes a while to get caught.
Re:“Ask 'why' five times about every matter” by im3w1l on Monday May 09, 2016 @05:46AM (#11658570)
Why does it take a while to get caught?
Re:“Ask 'why' five times about every matter” by hoodoof on Monday May 09, 2016 @05:51AM (#11658585)
That's only one "why".
Re:“Ask 'why' five times about every matter” by jaimex2 on Monday May 09, 2016 @05:56AM (#11658606)
because the emmissions test conditions are predictable