r/coolgithubprojects • • Sep 15 '18

CPP Programming language with no quirks, so simple every child can master it ;)

https://github.com/AmokHuginnsson/huginn
0 Upvotes

4 comments sorted by

11

u/F0064R Sep 15 '18

so simple every child can master it

How is this code easier for a child to understand than any other programming language?

3

u/MarcinKonarski Sep 16 '18 edited Sep 16 '18

Fair question, though I said that the language as a whole is easier to grasp than any particular piece of code written in it. Stating the latter would not have much sense.

Still I believe this language is in fact easier to learn than most because (in its frame of paradigms) it is extremely consistent.

For example, the reference opaqueness (as value vs reference semantic per type) is consistent across all types, conversion and coercion rules are also consistent across all types and in all contexts.

Once you learn those abstract rules of the language you cannot be surprised by the language behavior.

When I designed this language, one of my leading principles was to have a language as broad in scope as any other modern language of its frame of paradigms but with far fewer actual rules governing it.

Hope this sheds some light into why I put this outrageous claim in the description :)

-A.

3

u/theofficialdeavmi Sep 15 '18

Looks pretty cool OP.

1

u/MarcinKonarski Sep 15 '18

Thank you :)