Comment

Comment by oezi

I have been doing Ruby for so long that it feels very natural to apply a method in this way on the instance.

false.not

applies the not method on the false instance in the same way that

car.start

in every OO language calls the start method on car as the receiver.

So filter(list) feels just wrong when you are clearly filtering the list itself.

parent oezi 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton