this post was submitted on 25 Oct 2023
891 points (90.8% liked)

Programmer Humor

32143 readers
108 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Treczoks@lemm.ee 4 points 11 months ago (2 children)

We did Prolog in university - actually it was one of the two languages we had to learn in CS, the other one being Pascal.

I always considered Prolog a pain in the ass and unsuitable for anything bigger than a piece of homework due to the "we don't do loops, we have tail recursion" making the code unnecessary complex and hard to read. On a list of Write-Only languages I'd rate it a few steps below Perl.

[–] uis@lemmy.world 4 points 11 months ago

Tail recursion is just fancy way to loop.

[–] dan@upvote.au 2 points 11 months ago (1 children)

There's a few things it's very good at, but anything outside of that tends to be painful.

I also used Pascal and Prolog in university, in my first year. That was... 15 years ago now. Wow.

[–] DepressedCoconut@lemmy.world 1 points 11 months ago

I'm using Prolog in university right now. And Scala :(