Hacker News new | ask | show | jobs
by tyre 8 hours ago
A multi-line list comprehension in a whitespace-sensitive language is someone who took all the wrong lessons from Python.

Whitespace-sensitivity is a horrible decision. There’s a reason no language adopted it and Coffeescript didn’t take off—including when typescript was developed after the fact and could have.

The pipes are a welcome addition, though overall here’s a bit too much cleverness that makes it better for code golf than readability and maintainability.

Some of these simple examples would cause too much thinking during an incident.