this post was submitted on 20 Oct 2023
1 points (100.0% liked)

Lisp

53 readers
3 users here now

founded 1 year ago
MODERATORS
top 16 comments
sorted by: hot top controversial new old
[โ€“] lgstein@alien.top 1 points 1 year ago (1 children)

Hardly looks like Clojure to me. Might be that Clojure reads and evals it, but thats it.

[โ€“] npafitis@alien.top 1 points 1 year ago (1 children)
[โ€“] lgstein@alien.top 1 points 1 year ago (1 children)
[โ€“] npafitis@alien.top 1 points 1 year ago (1 children)

What doesn't look like clojure to you?

[โ€“] lgstein@alien.top 1 points 1 year ago (1 children)

A huge convoluted function that is hard to read.

It looks like it was ported over straight from Emacs Lisp or something.

I see close to zero utilization of the expressivity of Clojure. Its a terrible example to showcase the language.

[โ€“] hunajakettu@alien.top 1 points 1 year ago

Could you point to a similar code (easy to understand) written using the expressivity of Clojure?

I want to learn better Clojure

[โ€“] marcmerrillofficial@alien.top 1 points 1 year ago (1 children)

I can only imagine the cost of this guys cocaiffine habit.

[โ€“] sarcasmguy1@alien.top 1 points 1 year ago

I hope you're joking, but, he used to have a horrible meth addiction which he overcame :) Dude is just full of really good energy, and enjoys sharing it with the world.

Perhaps you should try it sometime?

[โ€“] leprouteux@alien.top 1 points 1 year ago (3 children)

That's pretty bad Clojure code as far as I'm concerned.

[โ€“] jetRink@alien.top 1 points 1 year ago

It's the kind of code that's a lot of fun to write when you first learn Clojure and not as much fun to read when you return to it a year later.

[โ€“] bcrosby95@alien.top 1 points 1 year ago

Back when he did this, I scanned a lot of the submissions for the more esoteric languages, and many of them seemed like they were written by someone who "learned" the language in a weekend or two.

[โ€“] geokon@alien.top 1 points 1 year ago

Could you be more specific about how you'd improve it?

[โ€“] gorrepati@alien.top 1 points 1 year ago (1 children)

That reminds me, what are some good YouTube channels to watch for good, fun or enlightening code. I want to see people writing it or going through it

[โ€“] hierophantos@alien.top 1 points 1 year ago

Youtuber @`code_report` compares various array programming languages (APL, BQN, J) against a sundry of other languages (clojure gets some attention there as well).

There are more programming paradigms to explore than just OOP and Functional... Array Programming (APL) and Logic Programming (Prolog), for example, ... (There are other micro-niches, but I'll spare you the rabbit holes... we need more devs focusing on "practical" approaches to feed the AI behemoth so we can automate ourselves out of this mess.) /s

[โ€“] doubleagent03@alien.top 1 points 1 year ago (1 children)

I never heard of this guy but that was difficult to watch. Why does he keep calling himself stupid? And at one point he made a joke about cons meaning "condescending".

I've always heard about lisp weenies and some of my personal experience indicates projection.

At the end he directly contradicts his buddy by saying "parallelism is *not* a nightmare in bash". Isn't that the kind of smug attitude lispers are always accused of having?

[โ€“] freshhawk@alien.top 1 points 1 year ago

I'm not sure if it's quite projecting, but something close. It's a related thing people do about basically everything.

If you are normally good at something, and you run into something new and aren't as good as you usually are, anyone telling you anything is going to seem condescending. Because if they explained concepts that simple to you in a normal situation, one you're good at, they would be being condescending.

Some people learn to deal with it and ignore that twinge and others just let it out.

It gets turned up to 11 if the subject area is one you have your ego tied to. It gets turned up even higher if the context is also one where the new thing is presented as being "better".

I've never heard it get called the same thing by 2 people, everyone seems to rediscover it and name it again.