47
Uiua — an extremely terse programming langauge
(www.uiua.org)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
I tried to go through the tutorial a year or so ago.
I can’t recall when, but there’s a point at which doing something normal/trivial in an imperative language requires all sorts of weirdness in Uiua. But they try to sell it as especially logical while to me they came off as completely in a cult.
It’s this section, IIRC: https://www.uiua.org/tutorial/More%20Argument%20Manipulation#-planet-notation-
When they declare
For
×⊃(+⊙⋅⋅∘|-⊃⋅⋅∘(×⋅⊙⋅∘)) 1 2 3 4Which, if you can’t tell, is equivalent to
f(a,b,c,x) = (a+x)(bx-c)With arguments 1, 2, 3, 4.
I wanted to like this, and have always wanted to learn APL or J (clear influences). But I couldn’t take them seriously after that.
Jesus, it's like someone took Brainfuck way too seriously.
I mean kinda, yea … “brainfuck but good actually” Is probably a succinct way of putting the idea.
polish notation is fine, but the need to get rid of argument names is beyond me, and i don't really get the need for the fork-operator, that thing seems redundant.