5 ms·
"Why do vehicle manufacturers lie about emissions?" "Why do vehicle manufacturers lie about emissions?" "Why do vehicle manufacturers lie about emissions?" "
by hoodoof 10y ago
"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?"
- ajuc 10y agoIt's supposed to be why(why(why(why(why(theMatter)))); not why(theMatter); why(theMatter); why(theMatter); why(theMatter); why(theMatter);
- hoodoof 10y agoA bug that I will blame on unclear requirements.
- christogreeff 10y agoWhy?
- KhalilK 10y agoYou could keep the second form but use a ditto operator instead; why(theMatter); why(%); why(%); why(%); why(%);
- zappo2938 10y agoWhen I'm interviewing for a job at VW and they ask this question, I can deflect with my curry skills.
- amelius 10y agoThat sounds very meta.
- erac1e 10y agocompiler error at line 1. unmatched parenthesis. ... oh don't worry it's a loosely bracketed language.
- marcosdumay 10y agoThat's one of the best points of Haskell: why . why . why . why . why $ theMatter
- erac1e 10y agoActually that is point-free
- spyrosg 10y agoCareful, enough why()'s and you invariably get nil. This is a pointer your employer probably doesn't want you to follow.
- ajuc 10y agoI usually get "Because BIG BANG". But good point - you want the why function to write the intermediate answers somewhere as a side effect.
- mrspeaker 10y agoI'd be interested to know why(Because BIG BANG)
- johnchristopher 10y agoDo not ask `Why?` Be cautious with `How?` `Why?` leads inexorably to paradox.
- TazeTSchnitzel 10y agoIn a stack language: theMatter why why why why why
- prmph 10y agoWell, 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"
- kamaal 10y agoI think the worst case scenario is an answer that forms a question, which lead to the answer framing the very question. Infinite recursion. Basically.
- kamaal 10y agoI 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.
- rmc 10y agoBecause they make money and it takes a while to get caught.