Unofficial Hacker News companion — get notified on comment replies, and more.

Civet: TypeScript superset that favors more types and less typing (opens external site)

69 points by nateb2022 3 days ago | github.com | 47 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (1)

  1. 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.