Follow

Sometimes it feels like is nothing but a mountain of syntactic sugar on hash tables.

· · Web · 2 · 2 · 7

@JordiGH I mean Perl is literally that, you instantiate objects by "blessing" a hash table

@gnomon @JordiGH yeah it's literally like tables, and you can implement stuff like classes in a table attached to a table, a .. metatable.

That said, i hope python does better than hash tables? I mean, with classes, how often do you do `getattr(instance, super_arbitrary_thing)`

@jasper @gnomon All the time? I mean, "." is just sugar for "getattr".

Sign in to participate in the conversation
Mathstodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!