Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hm, is this official, or are you deducing this from similarities?

I wish Andreas Rumpf were here to comment and hopefully correct me, but I believe he was formerly an ObjectPascal/Delphi programmer. The first version of the Nim compiler was written in Borland's ObjectPascal dialect (see http://nim-lang.org/docs/intern.html), which has some of the same features as Modula, but with a slightly more circuituous lineage, since it was originally based on Apple's Object Pascal, a dialect which Wirth was tangentially involved in designing. (Object Pascal predates Modula-3, too.) In that sense, some of the similarities are probably accidental or caused by cross-pollination (for example, Borland probably took the exception handling syntax from Modula). That's the problem of trying to infer lineage by looking at similarities alone.

The unified call syntax sounds like it might be lifted directly from Modula, though.

Thanks for the Python trivia, I didn't know that.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: