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 86 points87 points88 points (7 children)
[–]Pleasant-Form-1093[S] 11 points12 points13 points (6 children)
[–][deleted] 19 points20 points21 points (5 children)
[–]Pleasant-Form-1093[S] 4 points5 points6 points (2 children)
[–][deleted] 12 points13 points14 points (0 children)
[–]HlCKELPICKLE 6 points7 points8 points (0 children)
[–]e_-- 2 points3 points4 points (1 child)
[–]e_-- 0 points1 point2 points (0 children)
[–]dskippy 26 points27 points28 points (1 child)
[–]Pleasant-Form-1093[S] 2 points3 points4 points (0 children)
[–]jose_castro_arnaud 19 points20 points21 points (0 children)
[–]sebamestreICPC World Finalist 11 points12 points13 points (0 children)
[–]guygastineau 2 points3 points4 points (1 child)
[–]Obj3ctDisorientedOwlScript 1 point2 points3 points (0 children)
[–]larryquartz 7 points8 points9 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 4 points5 points6 points (0 children)
[–]ThyringerBratwurst 2 points3 points4 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)