News for hackers. Stuff that matters.
Re:J for C Programmers by lmm on Thursday June 04, 2020 @07:59AM (#23415464)
ASCII is a much smaller space of possible operators, so an ASCII-based language is always going to end up significantly more verbose than one that allows non-ASCII symbols. I don't use APL but I definitely appreciate being able to write ≤ or ⊆ or ∀ if that's what I mean, rather than having to expand those out in ASCII.
Re:J for C Programmers by Rampoina on Thursday June 04, 2020 @08:30AM (#23415714)
≤ "expands" in J to <: Definitely not more verbose.

J uses . and : as modifiers to a base operator to create a pretty big set of primitives. See https://code.jsoftware.com/wiki/NuVoc

Re:J for C Programmers by lmm on Thursday June 04, 2020 @06:41PM (#23422844)
> ≤ "expands" in J to <: Definitely not more verbose.

I mean, in a fixed-width font (as people tend to use for programming) it's literally twice as long. That adds up.

Re:J for C Programmers by rscho on Thursday June 04, 2020 @09:04AM (#23416043)
Actually, J is often less verbose than the equivalent APL, hence its use for code golfing.

This is less true since APL has begun integrating J semantics and operators, but still..