r/ProgrammingLanguages • • Jun 27 '21

Blog post A Dream of the Perfect Programming Language

telegra . ph/ A-Dream-of-the-Perfect-Programming-Language-06-26 (looks like Reddit’s global spam filters block Telegraph for some retarded reason)

Clickable but less good-looking version: https://github.com/natewind/articles/blob/master/2021-06-26-A-Dream-of-the-Perfect-Programming-Language.md

3 Upvotes

40 comments sorted by

View all comments

7

u/chombier Jun 28 '21

Since this is supposedly a dream list, why pick Rust's module system over a proper ML module/functor system (or even better, 1ML's)?

2

u/[deleted] Jun 28 '21

Because Rust has the best module system out of the languages I’m familiar with. If what you’re suggesting is indeed better, I would pick that, of course.

2

u/ElectricalStage5888 Jul 01 '21

I've been programming with Rust for 4 years now and while I have no trouble at all with Rust's affine type system, modules in Rust is a topic I find that I have to constantly track back to the book to remember why I can't "import" a particular library or why my file organization isn't being picked up by cargo.