4 ms·
3 8#1. looks like algebra to me. similar to: 3x^2+8x+1 instead of something, in algo-like languages, such as: plus((mult(3,square(x))),plus(mult(3,x),1)))
by icsa 6y ago
3 8#1. looks like algebra to me.
similar to:
3x^2+8x+1
instead of something, in algo-like languages, such as:
plus((mult(3,square(x))),plus(mult(3,x),1)))
Even Java lets you write 3xx+8*x+1, as a concession the value of algebraic notations.
I think that three issues at play are:
0. Falling into an intellectual comfort zone. My path has included BASIC, FORTRAN, PASCAL, C, C++, Perl, k/q. At each step I had to learn a new notation that seemed difficult at the time because of the intellectual comfort with my earlier experiences. k was ultimately a reversion to basic algebraic notation. I also learned regex notation along the way and still use it to this day :).
1. Having to learn a new (and slightly larger) operator vocabulary to understand vector languages like apl/j/k/q. I find the APL vocabulary to be too large for my taste, for example.
2. The possibly of a large expression that carry lots of semantic content. Large expressions in algebra/mathematics are often refactored into named expressions or functions, similar to programming language source code. In addition, verbose languages have lower semantic density and make it easier to comprehend what can fit on one line of source code.
- kelas 6y agohey @icsa > [these regexps] look [suspiciously] like algebra! where do i sign! it is 2021, and the following universal truth still evaluates to false for them: x=x+1 0 what do they mean by "no it isn't"? what is this right-of-left-no-precedence-rules nonsense? what a retarded tech. turing award, seriously? who's idea was this? must've been some brainiacs on a nerd patrol. my gut always tells me when i look at a good complang, and i'm definitely not looking at one right now. lol.