News for hackers. Stuff that matters.
Re:Everything Isa (2014) by rtpg on Monday June 03, 2019 @05:18AM (#20081561)
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

Re:Everything Isa (2014) by hoseja on Monday June 03, 2019 @04:36AM (#20081406)
Tangent: anybody knows what happened to C2?
Re:Everything Isa (2014) by tabtab on Monday June 03, 2019 @11:53AM (#20084549)
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.

Re:Everything Isa (2014) by zmix on Monday June 03, 2019 @04:53AM (#20081473)
I just navigated to the link directly, and everything seems fine.

http://wiki.c2.com/?EverythingIsa

Re:Everything Isa (2014) by tabtab on Tuesday June 04, 2019 @01:55PM (#20097520)
It's all read-only now. Changes are no longer allowed, at least not as seen there.
Re:Everything Isa (2014) by TeMPOraL on Monday June 03, 2019 @05:47AM (#20081671)
They took a perfectly good website and rewritten it as an SPA.
Re:Everything Isa (2014) by est on Monday June 03, 2019 @05:31AM (#20081611)
> PythonLanguage: everything is a writable, string-indexed dictionary.

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

Re:Everything Isa (2014) by ChrisSD on Monday June 03, 2019 @08:51AM (#20082559)
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.

Re:Everything Isa (2014) by AstralStorm on Monday June 03, 2019 @04:09AM (#20081287)
Isabelle - everything is proven. (Is a proof.)
Re:Everything Isa (2014) by kazinator on Tuesday June 04, 2019 @03:22PM (#20098317)
Everything isa belle, surely.
Re:Everything Isa (2014) by yellowapple on Monday June 03, 2019 @01:08PM (#20085497)
Shouldn't Erlang be "Everything is a process"?

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

Re:Everything Isa (2014) by kazinator on Tuesday June 04, 2019 @03:23PM (#20098321)
"Everything" is a type; "everything" is a variable.
Re:Everything Isa (2014) by intothemild on Monday June 03, 2019 @04:16AM (#20081316)
JavaScript - everything is a hack.
Re:Everything Isa (2014) by dang on Monday June 03, 2019 @01:47PM (#20085931)
Please don't post unsubstantive comments here. We don't want programming language flamewars on HN.
Re:Everything Isa (2014) by onion2k on Monday June 03, 2019 @04:20AM (#20081332)
JavaScript - everything is a hack, except when it's not a hack.

Therefore "hack === hack // false"

Re:Everything Isa (2014) by CodeArtisan on Monday June 03, 2019 @01:00PM (#20085399)
Re:Everything Isa (2014) by jannes on Monday June 03, 2019 @06:37AM (#20081858)
Checks out. NaN === NaN // false
Re:Everything Isa (2014) by byte1918 on Monday June 03, 2019 @07:33AM (#20082106)
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...

Re:Everything Isa (2014) by kazinator on Tuesday June 04, 2019 @03:27PM (#20098361)
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.

Re:Everything Isa (2014) by ak39 on Monday June 03, 2019 @05:44AM (#20081656)
this
Re:Everything Isa (2014) by morgancmartin on Monday June 03, 2019 @09:37AM (#20082904)
You saw your chance and you took it. And for that, I respect you.