Hacker News new | ask | show | jobs
by thfuran 1584 days ago
>FP is a higher level paradigm so you might have to trade off with performance too

Then it can hardly he said be to unequivocally be better, can it.

1 comments

that's like saying high level languages cannot be unequivocally better then writing assembly, not doing your own memory management is bad, etc...

Functional programming is a higher level abstraction. If the underlying implementation is not well implemented/optimized then you could have bad performance while the opposite is also true.

>that's like saying high level languages cannot be unequivocally better then writing assembly,

Yes, it is like saying that. At least, assuming by "cannot be" you mean "is not".

>not doing your own memory management is bad

No, it's not like saying that. Note how differently those claims are phrased.