News for hackers. Stuff that matters.
Re:J Has the Best Development Environment (2009) by Avshalom on Friday September 19, 2014 @07:48AM (#8339992)
J suffers vs APL/K. The verb trains; number of verbs vs number of available symbols; variable lengths and semantic baggage we bring to various symbols contribute to a much worse 'line barf problem'. I understand why Iverson went with ascii but frankly I don't even know APL beyond 'advanced calculator' level but every time I look at an APL program it just seems cleaner.
Re:J Has the Best Development Environment (2009) by seanstickle on Friday September 19, 2014 @08:24AM (#8340124)
This is my difficulty with J as well.

APL has a better mental "feeling" for me, more like mathematical symbols. Oftentimes, these are pretty direct.

Want to drop the first element of a vector?

APL: 1 ↓ 1 2 3 4 5

J: 1 }. 1 2 3 4 5

The APL version looks like a drop to me. The J version looks like two characters that I have to remember the meaning of.

I'm sure if I was deeply proficient at J, the two-characters would stand out by their meaning, but it's hard for me to get that far when APL is so much cleaner for me to read.

Re:J Has the Best Development Environment (2009) by klibertp on Saturday September 20, 2014 @04:03AM (#8344007)
The APL version looks like addition (cons, prepending value to a list) to me. The point being that you have to learn the meaning of symbols anyway, no matter which character set they use. Going for easier input (from the keyboard) and sacrificing a bit of legibility for this is a perfectly fine design trade off to me.
Re:J Has the Best Development Environment (2009) by judk on Friday September 19, 2014 @01:34PM (#8341494)
Of course APL is cleaner. But it requires a special keyboard. J tried to work around that, and flopped.

The language need the aliases to be learnable.

Re:J Has the Best Development Environment (2009) by eggy on Sunday September 21, 2014 @12:08AM (#8346243)
There are aliases built-in and you can define your own. Drop is built-in. To borrow an example above:

  1 drop 1 2 3 4 5      NB. this is how to comment
  2 3 4 5               NB. drop is }. in J
Exactly how did it 'flop'? Popularity, or your understanding of it?

Math symbols are cryptic, and Math is not popular, but I would not want to write:

"The derivative of x with respect to t" everytime instead of, dx/dt everytime I needed to write a formula.

I am sure beginners find 'for' ambiguous unless they have experience with programming as in 'for i = 1 to 10'. It's syntax you are highlighting, not meaning. People extoll the brevity of Haskell, and other functional languages, because they take the time to understand its syntax. J has been around a lot longer, and was created by some very smart people. I didn't choose it for its job market or popularity, but to expand my mind, and further my mathematics studies.