code, screenreader-unfriendly, question
With no further context on why it looks like it does, *could* you work with code that has syntax like this? (Even if it may not be your favourite syntax.)
if (equals a b) (
log "matches";
doThing a b;
) else (
log "does not match";
doOtherThing b;
)
@joepie91 I think I could get used to it. The if and else being on the same line provide enough context to quickly see what the parentheses are for
re: code, screenreader-unfriendly, question :boost_requested:
@joepie91 (i don't think the code is screen-reader unfriendly)
re: code, screenreader-unfriendly, question
if (equals a b) (
the equals a b part, i think i've seen kind of similar from some old tsoding livestream with making that syntax-like programming language
also IIRC that's also hugo
With no further context on why it looks like it does, could you work with code that has syntax like this?
maybe
code, screenreader-unfriendly, question :boost_requested:
@joepie91 Sure, it doesn't seem absolutely unbearable or anything.
code, screenreader-unfriendly, question
@joepie91 yeah, at a glance seems much more readable to me than “normal” lisp
re: code, screenreader-unfriendly, question :boost_requested:
@joepie91 I think I'd rather just go full lisp at that point
code, screenreader-unfriendly, question :boost_requested:
@joepie91@social.pixie.town looks pretty straightforward; i think i could use syntax like that, yeah
code, screenreader-unfriendly, question
(Note that this is not a typo; the block syntax is indeed made up of parentheses.)