Hacker News new | ask | show | jobs
by kazinator 3289 days ago
> some arbitary strucutre and set of fields that were not defined or specified anywhere

This is not a necessary feature of dynamic languages; some have proper object systems with class declarations.

Dynamic languages can contain crap design decisions, like using functions to simulate objects and classes, and that will reflect badly on the programs.

1 comments

But do any of these languages have functionality that enforces that only fields/methods that are defined are accessed? Do they enforce any apsect, of what might be called the (data) scheme?