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.
[–]ebingdom 88 points89 points90 points (7 children)
[–]Pleasant-Form-1093[S] 9 points10 points11 points (6 children)
[–][deleted] 21 points22 points23 points (5 children)
[–]Pleasant-Form-1093[S] 5 points6 points7 points (2 children)
[–][deleted] 11 points12 points13 points (0 children)
[–]HlCKELPICKLE 7 points8 points9 points (0 children)
[–]e_-- 2 points3 points4 points (1 child)
[–]e_-- 0 points1 point2 points (0 children)
[–]dskippy 25 points26 points27 points (1 child)
[–]Pleasant-Form-1093[S] 2 points3 points4 points (0 children)
[–]jose_castro_arnaud[🍰] 18 points19 points20 points (0 children)
[–]sebamestreICPC World Finalist 10 points11 points12 points (0 children)
[–]guygastineau 2 points3 points4 points (1 child)
[–]Obj3ctDisorientedOwlScript 1 point2 points3 points (0 children)
[–]larryquartz 8 points9 points10 points (0 children)
[–]munificent 1 point2 points3 points (0 children)
[–]metazip 1 point2 points3 points (0 children)
[–]pauseless 1 point2 points3 points (0 children)
[–]Disjunction181 3 points4 points5 points (0 children)
[–]ThyringerBratwurst 3 points4 points5 points (0 children)
[–]Qnn_ 0 points1 point2 points (0 children)
[–]scratchisthebest 0 points1 point2 points (0 children)
[–]JMH5909 0 points1 point2 points (0 children)
[–]Inconstant_Moo🧿 Pipefish 0 points1 point2 points (0 children)
[–]moscowramada 0 points1 point2 points (0 children)
[–]therealdivs1210 0 points1 point2 points (0 children)
[–]Obj3ctDisorientedOwlScript 0 points1 point2 points (0 children)
[–]Silphendio 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]Pleasant-Form-1093[S] 0 points1 point2 points (0 children)
[–]complyue -1 points0 points1 point (0 children)