News for hackers. Stuff that matters.
Re:Ask HN: What overlooked class of tools should a self-taug... by crimsonalucard on Wednesday May 15, 2019 @07:38PM (#19924821)
There are downsides to FP as well. I am not advocating one over the other. But there is a concrete theoretical reason why FP is more modular, reuseable and organized than OOP code.

Smalltalk is possibly the only OOP language that lets objects be compose-able and modular. Check out Pharo if you're interested. If you learn smalltalk well enough, you could apply its principles to traditional OOP languages and gain the modularity benefits.

Re:Ask HN: What overlooked class of tools should a self-taug... by profalseidol on Thursday May 23, 2019 @01:00AM (#19988639)
> There are downsides to FP as well.

I've seen Java 8 functional stuff get unreadable.

But other than that, is there any other concrete downside?

For using Pure Functions, I don't see any downside to this. Aside from it being impossible to use for outside the program side-effects like IO to device.