Hacker News new | ask | show | jobs
by z3t4 1780 days ago
I already have problems reading arrow/inline functions... for example where a method is called with a function that returns a function... if there is one more (async) call in there my brain starts smoking.
2 comments

It's likely a mater of what you're used to.

I start to feel uncomfortable when I see an explicit loop.

But that's actually very weird as I write Scala a lot where you use "for" (instead of "do-notation") for monadic computations.

My brain starts smoking when someone uses a "for" as an regular loop! That causes usually a few seconds of complete confusion. :-D

It's all up to preference, really. It took me a while to get around my muscle memory from general imperative programming by the time I started using languages like K competently. Getting that motivation is definitely hard.