Skip to content

Comment on Bog – small, strongly typed, embeddable languageparent

Comments

It's not roundabout. Namespaces in many languages are simply dictionaries/mappings of strings to objects, with the restriction that the strings must conform to a variable name standard.

There's not much difference between `obj.attr` and `obj['attr']`.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.