>learning haskell and like it a lot
>this is how programming should be
>decide to use it on job interview
>"everything seems good, before we finish up could do quick sort on the whiteboard"
>>60090472
>fell for the 16 GiB meme
>tfw your interviewer falls for the whiteboard meme
>>60090472
I'd also fail someone who can't choose the best language for the job
I'd fail someone for learning Haskell over a real lisp
>#import <quicksort.h>
You're literally too retarded for Haskell if you can't do a quicksort in it
It's literally like 4 or 5 lines of code, even less maybe
>>60091117
Prove it.
quicksort :: (Ord a) => [a] -> [a]
quicksort [] = []
quicksort (x:xs) = quicksort lesser ++ [x] ++ quicksort greater
where lesser = filter (<= x) xs
greater = filter (> x) xs
Or are you referring to the fact that it's technically not a true quicksort?
>>60091823
Like how you technically didn't get the job?
>>60091117
He meant to say in place quicksort.
>>60091845
Except I'm well aware it's not a true quicksort, so I'd either use another language or ask the interviewer if it's OK.
Regardless, I was wondering whether the OP is retarded or not, I assume if he knows a decent amount of haskell he'd be able to do this so I assume he's just making a joke shitpost
That's where you tell him that it would be dumb to have to remember how to write your own when you can use libraries already existing and put your needed time elsewhere.
>>60091923
We'll be in touch.
Didn't think to maybe bone up on your algorithms before going to an interview? What kind of problems did you think they'd ask you to white board?