
A share bicycle graveyard viewed from the air. Xiamen, China.

A share bicycle graveyard viewed from the air. Xiamen, China.
Originally shared by mathew murphy
Unit testing seems to correlate with increased cyclomatic complexity, and other surprises.
A typical Angular app is a veritable sea of Singletons ie. Stateful Services.
Sometimes it feels as if the Angular team decided to collect together all the world’s worst programming patterns and a put them into one convenient framework.
Originally shared by mathew murphy
Many people have expressed the opinion that singletons are a code smell. Now someone has looked at codebases to quantify to what extent that’s true.
Microsoft Excel really sucks as a messaging app.



I seriously don’t have a dog in this fight. Some people really despise NodeJS as a production level server. I’m interested to know why.
I mean Node runs a scripting language like Ruby or PHP but is superior in performance to those systems because of its non-blocking architecture. Naturally being interpreted it can’t be as fast as a compiled language such as Go or Java.
So this is an open thread asking why you wouldn’t use it in production? Note that “because it’s JavaScript” is not an argument that is going to carry any water around here. JavaScript performance from the point of view of an interpreted language is already pretty good relative your favourite scripting language X so let’s get down non-bullshit arguments about why it’s bad.
Functional programming in Node using monads and the Fantasyland specification.

A pretty good summary of js front-end framework performance. Preact pretty much still rules.
Eric Elliott takes a hard line on JavaScript’s “new”, “instanceof” and “class” keywords. In a nutshell, don’t use them.
In their place he suggests object factory functions which still create objects but do it via Object.create().
JavaScript: “the good parts” remains a small subset of the full language.

Via Wolf Weber
Originally shared by Tom Brydon
4.5 megabytes of data in 62,500 punched cards, USA, 1955
Non-obvious
const {0:a, 2:b, length:l} = [‘foo’, ‘bar’, ‘baz’];
> a
‘foo’
> b
‘baz’
> l
3