News for hackers. Stuff that matters.
Re:Please do not attempt to simplify this code by pdimitar on Wednesday August 07, 2024 @04:21AM (#41179305)
Your Elixir feedback is strange. I find it very explicit. Can you give some examples what you find clever / implicit about it?
Re:Please do not attempt to simplify this code by claytongulick on Wednesday August 07, 2024 @09:56AM (#41181532)
I think it's super subjective, and I'm sure it's just my mental block from 30 years of C style languages.

I have trouble with the equals sign being "pattern matching". There are other syntax things like that, where it seems like too much is being done in odd (to me) ways that are hard to grok.

I know a lot of people love it, and I really did try, but for whatever reason the syntax just doesn't work for me.

Re:Please do not attempt to simplify this code by pdimitar on Wednesday August 07, 2024 @07:23PM (#41186542)
You are kind of backtracking here because I don't see anything about implicitness. I mean okay you can't get used to the syntax and you don't want to -- not something I'd deem a serious reason to drop a language but it's fair enough and it's obviously your right so cool.

But Elixir is anything but implicit. If anything, people periodically raise a stink about wanting some magic in there, and we the wider community just reject them.

Re:Please do not attempt to simplify this code by claytongulick on Wednesday August 07, 2024 @08:25PM (#41186901)
Sure, people find different things complex.

For example, I can't make heads or tails of rxjs, and honestly have zero motivation to do so.

Other people see it and find it intuitive.

Shrug.