Better HN
topnewbestaskshowjobs
Log inSign up

ivanjr0

8 karma · joined May 27, 2012 (14y ago) · 4 submissions

Submissions

comment 8y ago · link · parent

> Lambdas in Python are awkward

Can you elaborate on that, please?

Considering the examples given by the author, I think they would be a better option.

comment 10y ago · link · parent

Question: I totally agree that the second version is much cleaner. But, how does the performance of the two compare in Haskell?

"Premature optimization is the root of all evil" and all that. But, a sorting routine is something everyone would expect to be as efficient as possible, right? (Maybe it was just for the sake of the example?)

I heard 1 or 2 things about Haskell being lazy, etc. Does it makes the second version less inefficient than it looks?

comment 10y ago · link · parent

I'm curious. Why do you think that's the case? Do you have any evidence to back that claim?