Live data from Hacker News

Why Fennel?

fennel-lang.org

171–174 of 174 posts

Re: Why Fennel?

#171
post #166

Earlier quoted context omitted.

I appreciate your time and explanation. I'm really trying to understand the POV here, and I feel like we're veering away from my original confusion, which was around "Try defining data in C. Try extracting data from that data you've defined in C". I'm assuming your statement would be meant to apply to other common languages without s-expressions, but maybe I've misunderstood. I don't get why Lisp's s-expressions are…

> I'm assuming your statement would be meant to apply to other common languages without s-expressions, but maybe I've misunderstood. It was meant for C specifically. Take a JSON document. Define it in C. Here's what I see on a random cJSON GitHub project: https://github.com/DaveGamble/cJSON/blob/master/README.md#ex... Now do that in JavaScript: const jsonDoc = { "name": "Awesome 4K" ... } Now make the equivalent json…

I think I see what you’re getting at. Thank you for the explanation!

Re: Why Fennel?

#172
post #170

Earlier quoted context omitted.

> I still view Neovim as a huge improvement Neovim unlike Emacs is an editor. Emacs is not a mere code editor, not an IDE, text-processor, or web-browser. Emacs first and foremost is a Lisp REPL, with a built-in text-editor. Without deeply understanding that aspect one can never truly appreciate the incredible power it grants you. Do you use your editor to read and annotate pdfs? Or watch videos? Or manage the librar…

Care to share your .emacs? :)

github.com/agzam/.doom.d

Re: Why Fennel?

#174

Earlier quoted context omitted.

The anti parentheses argument is usually just a straw that people grasp, who have no experience with writing code in lispy languages. A quick superficial jab at something they do not know well, so that they can go on with their day, without having to deal with learning a new thing, that might change their whole view of programming.

Plus, don't forget the secret sauce of Lisp syntax: same number of parentheses, with none of the commas. Nor the semicolons. Nor the brackets. Nor the braces.

I can live with brackets and braces tho ;) Clojure <3 But that is a very nice observation that is true for traditional lisps. I need to give racket or scheme one more look.
Post reply on HN