23 comments

[ 1.2 ms ] story [ 59.5 ms ] thread
(comment deleted)
Isabelle - everything is proven. (Is a proof.)
JavaScript - everything is a hack.
JavaScript - everything is a hack, except when it's not a hack.

Therefore "hack === hack // false"

this
You saw your chance and you took it. And for that, I respect you.
Checks out. NaN === NaN // false
NaN is 'not a number' A string is not a number A function is not a number If 'not a number' === 'not a number' then any string === any function

This is a joke...

(comment deleted)
Rules around NaN aren't Javascripts fault; it's IEEE floating-point idiocy that a given NaN doesn't compare equal to itself.

That is a corruption. It should never be the case that a thing is not itself.

Please don't post unsubstantive comments here. We don't want programming language flamewars on HN.
Tangent: anybody knows what happened to C2?
They took a perfectly good website and rewritten it as an SPA.
A jerk who was pissed about the editing rules started vandalizing content en mass. It seems Ward got tired of battling him/her/it and switched on some kind of serverless or distributed version of the wiki that he had been working on as an alleged alternative. Most find it baffling and/or unusable. That effectively killed the wiki, at least to new authoring. Maybe after Ward realizes it's a flop, he'll go back to something more familiar. (It might have other uses, just not as a public wiki or discussion board.)

Ward Cunningham is considered the inventor of wikis, by the way.

Python’s “everything is a writable, string-indexed dictionary“ is clearly meant for Javascript. Python’s dictionaries are extremely non-string-indexed!

Given how descriptors work I feel like “everything is a proxy wrapper for a dictionary” encapsulates everything in Python a bit better

> PythonLanguage: everything is a writable, string-indexed dictionary.

What do you mean? Unicode or Bytes? Or Both?

In python a dictionary key can be any `hashable` object. In practice this means almost any immutable type can be used (e.g. unicode strings, bytes, tuples, etc).

However, unicode strings are by far the most common dictionary key and the core language uses them extensively.

Shouldn't Erlang be "Everything is a process"?

And Elixir would be "Everything is a process, but in Ruby".

"Everything" is a type; "everything" is a variable.