This is an automated archive made by the Lemmit Bot.

The original was posted on /r/programminglanguages by /u/Pleasant-Form-1093 on 2024-03-25 18:52:05.


Forgive me if this sounds stupid but I just have this idea of a “function-based” programming language i.e to say everything is a function

This is like saying everything in the language is a function and doing absolutely anything looks like you are calling a function

Like say suppose if you wanted to declare an integer variable ‘a’ to a value of ‘90’ and add the number ‘10’ to it would go about it in a way like:

declare(int, a, 90) add(a, 10)

and so on and so forth

From my perspective(as a beginner myself) this will make the language pretty easy to parse but it’s also quite obvious that it would make the language too verbose and tedious to work with

So what are your opinions on this approach and please do point out any part where I might have gone wrong.

Thanks in advance.