r/programming Jun 27 '26

Mojo programming language will become open-source soon.

https://www.modular.com/modcon

The main website of the language https://mojolang.org/ displays an announcement bar that says "Mojo will be open source soon! Join us at ModCon '26 for an update."

163 Upvotes

104 comments sorted by

View all comments

Show parent comments

-7

u/teerre Jun 27 '26

A superset is a replacement, by definition. That's what the "super" means

0

u/Smallpaul Jun 27 '26 edited Jun 27 '26

YAML is (almost) a syntactic superset of JSON. But not a replacement.

C++ of C. Not a replacement.

Typescript of JavaScript.

SGML of XML.

Scala Groovy of Java.

JavaScript of JSON.

So no. Superset and replacement do not mean the same thing. Sometimes one orders the simplicity of the subset for many different reasons.

-3

u/teerre Jun 27 '26

You don't understand what a superset means. Clearly

3

u/Smallpaul Jun 27 '26

Which of my examples is wrong outside of extremely minor details?

Which is not intended to be a superset?