New or not so well-known paradigms, syntactic features and behavior of programming languages?

I developed educational programming languages ​​and interpreters for them, but my problem always was that they turned out to be "normal" and "boring", mostly similar to some existing language (ASM and BASIC).

It is very difficult for me to come up with new ideas for syntactic functions, "neat things" and new or very modified programming paradigms for it. I always thought it was hard to come up with good new things, rather than funny / useless new things for this occasion.

I was wondering if you can help me with your work:

  • What functions, in terms of language syntax and built-in functions, and possibly even new paradigms, can I work in my language so that it is useless, but more interesting, enjoyable, interesting, and / or different from the program?
+3
source share
9 answers

I always thought it was hard to come up with good things.

You were right. That's why John Backus, Ken Iverson, Nicklaus Wirth, Robin Milner, Kristen Nigaard and Ole Johan Dahl, Alan Kay and Barbara Liskov won the Turing Awards , they brought good new ideas to the design of programming languages.

If you want to add interest to your own projects, these are great people to steal.

+3
source

ASM BASIC , , . , , , , , , ( ). parallelism.

+2

, (, Objective-C). , , . , .

currying, , . , base-b, base-2, base-10 ..

- ( ): Ruby ( ), . - , "" .. OOP , .

30 , 70-!;) , Ruby, Python, Scala, Objective-C, JavaScript (. Douglas Crockford JavaScript: The Good Parts) ..

+2

. . .

+1

Esolang wiki , . , - - .

+1
0

, CSP . .

0

. : . , Taxonomies.

"" " ". "" .

0

, , . , , :

  • ,
    • FORTH and J can be starting points.
    • Pogoscript is also interesting because flow control constructs such as if / elseif / else and while / wend arten't special can be created in user code.
    • user-defined user operators are actually not new: I think Haskell, Nemerle, Kaleidoscope and some others already do this, but even this will not be "boring"
0
source

Source: https://habr.com/ru/post/1741148/


All Articles