Skip to content

Comment on Dynamic Languages Are Static Languages (2011)parent

Comments

iterating through values

I don't think you can iterate thought the values in an array and in a dict in e.g. python with the exactly same syntax.

just passing it along

In languages with global type inference (e.g. OCaml) you would not have written the type in the code in the first place, so changing the type of an argument that you just pass through, would not require any changes in the code.

But yes, in Haskell people are in the habit of writing the type signatures, even though the compiler does not require them, so in this case edits are needed.

AboutSource Built by g1lg1l

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