Recent submissions

Comment · 1 month ago
Thanks, that's useful for his old posts.

But does anybody know if there will be more from him? Did he take his website offline on purpose?

Comment · 7 months ago
OK, now I end up in a Cloud Flare error page: Bad gateway.
Comment · 7 months ago
Did they just re-design their website and removed the login button? I cannot find it, and I'd like to access the eBooks I paid money for. Are they running some A/B tests and I'm keep getting the same version?
Comment · 2 years ago
In the context of version control, some formatting rules work better than others.
Comment · 3 years ago
Maybe for the next project; together with Haskell.
Comment · 3 years ago
Comment · 3 years ago
Comment · 3 years ago
> Python has some functional capabilities, but in my experiences with Python devs, those are little used and even shunned.

I like to use things like filter, map, reduce or list comprehensions, but I see very few of those in my coworkers' code bases.

When Python introduced pattern matching, it was rather a pattern-aware switch/case, which does not return a value, as such a construct in a functional programming would do.

> I went from Ruby to Elixir, and even with my basic Clojure experience, it was an effort.

I tried out Elixir twice so far, and since the last time, I worked through 300 pages of SICP. I still have to twist my mind when I'd like to process nested maps or the like in Elixir now.

> It was worth it, but I think the apparently similarity of Elixir to Ruby is actually a negative.

However, Ruby provides a lot of higher-order functions, such as group_by and the like. If you're used to functional-style Ruby code, the transition is easier.

Comment · 3 years ago
One pattern I noticed in the workplace: People are mocking things like LISP, Haskell, or Erlang, but get a hard-on when their bread language (e.g. Python) introduces new syntax for, say, pattern matching (rather a pattern-aware switch/case, because it isn't an expression).

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton