Recent submissions

Comment · 3 years ago
I mean if I have a NonEmptyArray say xs, and I then xs.map(x=>2*x), will the result of this expression be a NonEmptyArray ?
Comment · 3 years ago
Can you map over this and preserve the NonEmptyArray type?
Comment · 3 years ago
The production of this gadget will create more pollution.
Comment · 3 years ago
Typescript is a good try, but ultimately our favourite JS runtime errors still happen, even with all the strictest ts settings. Syntactically it is quite clumsy, you can see the uninspired mix of C++ and Java in there. The typings now although people are doing lots of cute things with them, don't do some really fundamental things. For example there is currently no sensible way to type a non empty array in Typescript. Also the discriminated union with the identifying string literal in there is not terribly elegant.

Personally I wish either Rescript or Purescript gained adoption instead.

Comment · 3 years ago
Does carbon filter this stuff?
Comment · 3 years ago
Personally I prefer haml, in my opinion JSX is grotesque.
Comment · 3 years ago
Honestly, all I care about is speed. Couple of word swaps here and there using a thesaurus, who gives a shit.
Comment · 3 years ago
It works!
Comment · 3 years ago
Python lambda syntax is ugly as hell.
Comment · 3 years ago
Very tastefully done. Every one of these items is a huge improvement. This one in particular drives me crazy: `x.map(($) => $.name)`, `x.map .name` is almost Haskell level terseness.

Can this all not be done as experimental typescript though, rather than a new language?

Comment · 3 years ago
>"attention seeking"

Oh I stand by that comment. It is my opinion, did it offend you? I'm curious why you even felt the need to comment. Not every Briton has the power to do what she did. So the article is essentially just about her. She told all her friends what she was doing beforehand. Now what type of behaviour would you describe this as?

Comment · 3 years ago
Reading it back you are indeed correct. I found the article misleading.
Comment · 3 years ago
As pointed out below, she still lives in London after all this verbiage.

https://twitter.com/intent/user?screen_name=byameliahill

Edit - Censored [flagged] because we are apparently not allowed to criticise. Pathetic.

Comment · 3 years ago
So basically after all that, you are quitting an in-office role for a remote role.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton