Better HN
topnewbestaskshowjobs
Log inSign up

nitram1

5 karma · joined May 22, 2018 (8y ago) · 8 submissions

Submissions

comment 6y ago · link · parent

Array access is a good example.

Many type-safe languages throw an exception if you attempt to access an element in an array that is out of bounds but javascript just returns undefined.

Typescript ignores the fact that accessing an arbitrary element of an array could return undefined. If it did not ignore this fact then it would force you to deal with the potential undefined value retrieved from any array access (i.e you'd need to write a runtime check)

2.

Using parser combinators to parse ingredient amounts in JavaScript(medium.com ↗)

2 points · by nitram1 · 7y ago · discuss

3.

How often should you deploy your code?(medium.com ↗)

1 points · by nitram1 · 7y ago · discuss

4.

We can do better than microservices(medium.com ↗)

3 points · by nitram1 · 7y ago · discuss

5.

The Software Engineering Cult(medium.com ↗)

2 points · by nitram1 · 7y ago · discuss

comment 8y ago · link · parent

I think it depends on whether the improvements facebook hopes to achieve by dropping support for php outweigh the drawbacks of losing 3rd party package compatibility

comment 8y ago · link · parent

They're not planning on removing encryption. It was under facebook's ownership that encryption was added to the platform