News for hackers. Stuff that matters.
Re:Introducing Spider 0.1 by Rusky on Friday November 28, 2014 @02:54PM (#8671966)
It's not just fashion or typing speed- syntax affects how readable code is. Common tokens that don't have a lot of meaning intrinsic to the program being written should be smaller or you get mired in bureaucracy when trying to read it.

Which of the following is clearer?

    plus(new vector(5, 3), scale(3, new vector(7, 3)))

    new vector(5, 3).plus(new vector(7, 3).scale(3))

    <5, 3> + 3 * <7, 3>
Re:Introducing Spider 0.1 by bollix on Friday November 28, 2014 @02:56PM (#8671976)
Probably the second one, but they all look basically the same to me. Perhaps programmers should get better at reading code.

The last one is least readable IMHO. It's like a regexp. It's the most ambiguous and has the most potential for errors also.

It's hard to typo "function" and have a program still compile/run. It's a lot easier to typo "fn" and still have the program compile/run. Smaller tokens mean more potential errors.