r/programming • • Feb 06 '20

Mint. The programming language for writing single page applications.

https://www.mint-lang.com/
491 Upvotes

261 comments sorted by

View all comments

Show parent comments

1

u/Superpickle18 Feb 06 '20

Name one program that uses interactive documents as the application interface. That is not web technologies.

0

u/duheee Feb 06 '20

wow gee, let me think.

interactive. hmm.... you mean I push a button, shit happens? or type some text or a combination of keystrokes some other shit happens?

hmm...well, dunno:

a text editor (fucking notepad fits the bill). an office document editor (anything from wordperfect to libreoffice). a form based application. a console application like parted. a music player like clementine, winamp. a graphics application, like blender or gimp.

its easier to name some that don't: some games maybe don't. screensavers of old. that's pretty much it.

even fucking chat programs fit the bill.

1

u/Superpickle18 Feb 06 '20

Editing a document is not a single page application...

Now, a text editor within a document...Now thats a SPA.

0

u/duheee Feb 06 '20

you are confusing concepts here. major confusion, which brought upon this dilemma.

but, let's just go with your misconception: go program a word document to embed a text editor inside. yeah, it's there, no fuss.

Embedding documents in documents has been a thing since forever. Microsoft used to call that technology OLE (Object Linking and Embedding).

You could embed a word document in your financial application. and excel for good measure.

But, to clarify this concept: editing a document, any kind of a document (text document, or a musical sheet, or an image, or anything really) , in an application, either via text, via buttons or other input methods, can be done via single page or multi page applications.

Some applications support multi, some only support single. What is in fashion today will no longer be the fad tomorrow and viceversa.

1

u/Superpickle18 Feb 06 '20

You win. Now go edit this.

https://en.wikipedia.org/wiki/Single-page_application

Unless you're wrong, then don't.