4 ms·
If I understand correctly, I believe elixir carries similar benefits: https://elixir-lang.org/getting-started/optional-syntax.html https://elixir-lang.org/gett
by timwis 3y ago
If I understand correctly, I believe elixir carries similar benefits:
https://elixir-lang.org/getting-started/optional-syntax.html https://elixir-lang.org/getting-started/optional-syntax.html
- medo-bear 3y agoyou dont
- timwis 3y agoHey, not sure if this was your intention, but your comment came across as quite rude, and makes me feel discouraged from commenting on something in the future that I'm not 100% confident about. And of course that's no way to learn. A more encouraging response would be one that doesn't focus on whether or not I understand correctly (I'd already acknowledged that I may not), but on what the differences are, thereby spreading your knowledge rather than using it to make people feel excluded.
- medo-bear 3y agoHi, I'm sorry for coming across as rude, but your post had no content other than a statement that you think Elixir has similar syntax benefits as Lisp. Maybe if you wrote, "I think this is similar to Elixir because so and so", someone would be able to give you a more informative reply as to why you are wrong
- edanm 3y agoI disagree. The comment pointed out another language with similar benefits to the article, and linked to another article which specifically talked about syntax rules of Elixir. It was useful for me, personally.
- medo-bear 3y agosome consider posting a link to some content you want to use as an argument, bad form. usually what is expected is to make your claim and use that article as reference to support it. this also helps lay bare your understanding of the content you are linking to. with that said, what precisely do you think are the similar benefits of elixir syntax rules to those of common lisp?
- zambal 3y agoWhat's the point of a comment like this? I think I disagree with your reply, but the lack of argument makes it difficult. While I wouldn't go as far as saying that elixir has the same benefits as lisp regarding uniform syntax in combination with a flexible macro system, elixir's macro system is undoubtedly powerful. The big difference with a lisp is that elixir's macro's operate on an intermediate ast representation that looks a lot like lisp code. So while elixir doesn't have a very uniform syntax itself, I think its macro system gives comparable power and flexibility.
- medo-bear 3y agoand because of the nonuniformity difference that you mention, for anything but the most basic macros you gonna find that level of comparability with lisp decrease pretty exponentialy btw, the other poster didnt mention elixir macros. they mentioned optional syntax which frankly terrifies me :)