Re:Tamgu, a functional, imperative, logical programming lang...
by clauderoux on Wednesday July 24, 2019 @07:46AM
(#20514177)
None taken... :-)
Well, I did my fair share of programming over the years in so many different languages (Pascal, Cobol, C, C++, Java, Python, APL, Lisp, Prolog, Basic, Small Talk, various assemblers) that I honestly cannot remember all of them.
Tamgu is the result of this experience and my choice was always towards compactness and readability, with Perl being my personal nemesis.
The advantage of this approach is that you don't need to remember a long list of operators, they are simply re-interpreted in context and the re-interpretation is pretty consistent over most of the code.
But, well as the adage goes: Of tastes and colors...
Re:Tamgu, a functional, imperative, logical programming lang...
by clauderoux on Thursday July 25, 2019 @05:41AM
(#20523960)
By the way, you can easily enforce whatever interpretation you want with a cast:
println(vector("i" in s));
No offence but without some overriding principle, and a justification for that principle (that "things are demonstrably easier if you do it this way"), you've just dumped and extra load on the programmer which I do not need!.