Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ww2
· 12y ago · 0 comments
This is a typical pitfall of many FP code chuck examples. trading efficiency for superficial succinctness.
Comments
[–]
tel
12y ago
Eh, a lot of FP is used for teaching. I don't think this example is as much about succinctness as it is about clarity. The idea of partitioning on a pivot and recursing is definitely key to quicksort, if not its totality.