Live data from Hacker News

GNU Guile 2.2.0

gnu.org

1–10 of 149 posts

Re: GNU Guile 2.2.0

#8

Why are those brackets there in the syntax? What's the need? It looks hard to read when the programs are bigger. Is there any super advantage to it?

It's a LISP dialect. Brackets are essential to tell the difference between arguments and function calls... take for example in C: foo(bar(1)) would in lisp be (foo (bar 1)).

If it were to just be "foo bar 1", you couldn't tell the difference between (C style again for clarity): foo(bar(1)) and foo(bar, 1).

Some newer functional languages have a composition operator which allows you to write this without the brackets, but the brackets still are easier to follow in many cases.

Re: GNU Guile 2.2.0

#9
post #3

The mailing list announcement is better both for the detailed content and not being served as difficult to read on mobile "justified" text: https://lists.gnu.org/archive/html/guile-devel/2017-03/msg00...

Thank you, I gave up reading it because of the justification. There was no "reader" version available for Safari either.
Post reply on HN