Live data from Hacker News

Esoteric programming paradigms

ybrikman.com

91–100 of 149 posts

Re: Esoteric programming paradigms

#91

Wait. What exactly is esoteric about these paradigms? All the books I've read simply call them regular paradigms.

You're correct that I'd not consider these esoteric, just not procedural or OO. Esoteric would be something like Brainf*, the music programming language, or that art language (forget the name). Unusual but still commercial and useful paradigms are logic, array, functional, and concatenative to name a few.

Re: Esoteric programming paradigms

#92
post #72

This classification of "paradigms" is a bit off. First, declarative programming is a generic name which includes a broad range of paradigms - from functional to logic programming. Logic programming is something that deserves a special mention and discussion, because there are a number of interesting and unique concepts that deserve a more in-depth explanation. Second, "dependent types" is better understood as a featu…

This. There are three (and arguably only three) common programming paradigms: imperative programming, functional programming, and logic programming with lineages back to Turing machines, lambda calculus, and formal logic / proof search, respectively. Languages can be broken down along other dimensions, but usually the term "paradigm" is reserved for the sort of irreducible foundation of a language, and these seem to be the three useful ones.

Edit: to put a slightly finer point on it, this irreducible foundation mostly has to do with how the language "computes." Imperative languages compute via statements that modify program state. Functional languages compute via proof reduction to normal form. Logic languages compute via proof search.

Re: Esoteric programming paradigms

#93
I'm kind of uncomfortable calling "declarative" a paradigm; it's a broad (and not binary) feature. Prolog and SQL are, respectively, the leading examplars of the logic and relational paradigms. They are both fairly declarative (but then, in the age of optimizing compilers, even C is somewhat declarative: your code constrains the result but it doesn't dictate the how as much as it seems to.)

Re: Esoteric programming paradigms

#94

Earlier quoted context omitted.

Especially in something like kdb.

I hear this a lot, but am confused in that I can't find hardly any examples anywhere. It'd be nice if kx systems put some videos of people querying data and building charts...etc.

http://tech.marksblogg.com/billion-nyc-taxi-kdb.html

Re: Esoteric programming paradigms

#95
post #71

Array oriented programming languages are also pretty interesting: https://en.wikipedia.org/wiki/APL_(programming_language) https://en.wikipedia.org/wiki/J_(programming_language)

F-Script was a very interesting array programming / objects hybrid. Smalltalk meets APL is not far off.

Re: Esoteric programming paradigms

#96

Earlier quoted context omitted.

I hear this a lot, but am confused in that I can't find hardly any examples anywhere. It'd be nice if kx systems put some videos of people querying data and building charts...etc.

http://tech.marksblogg.com/billion-nyc-taxi-kdb.html

A nice demo, but still doesn't show examples of a customer going through an example dataset and building dashboards. The kx site is good at talking about all their customers without giving a whole lot of real info. I wish they had a 64-bit hobbyist license.

Re: Esoteric programming paradigms

#97

Earlier quoted context omitted.

http://tech.marksblogg.com/billion-nyc-taxi-kdb.html

A nice demo, but still doesn't show examples of a customer going through an example dataset and building dashboards. The kx site is good at talking about all their customers without giving a whole lot of real info. I wish they had a 64-bit hobbyist license.

I don't know about 64-bit but people in prior HN discussions said you can download a free one off their web site. You should be able to extrapolate some things from that.

EDIT: https://kx.com/download/

Re: Esoteric programming paradigms

#98
post #76

Earlier quoted context omitted.

Considering they also mention SQL and Forth, I think this could probably equally be called "things that confuse someone who only knows C".

I think both Forth and SQL are outliers in their strangeness. Most people only have to deal with SQL on a very shallow level and barely regard it as programming at all. Forth is known by name and reputation but very few people have ever tried to write anything in it - let alone delve into it's strange bootstrapped nature.

  > Most people only [...] deal with SQL on a very shallow level and
  > barely regard it as programming at all.
Fixed that for you.

And now the sentence states why there are so many problems in the world (of software).

;)

Re: Esoteric programming paradigms

#99

Earlier quoted context omitted.

http://tech.marksblogg.com/billion-nyc-taxi-kdb.html

A nice demo, but still doesn't show examples of a customer going through an example dataset and building dashboards. The kx site is good at talking about all their customers without giving a whole lot of real info. I wish they had a 64-bit hobbyist license.

Check nsl.com and https://github.com/JohnEarnest/ok for playing around with examples. Ofcourse if you want all facilities, you'll need kx. You can play with 32 bit version.

Re: Esoteric programming paradigms

#100
post #57
post #12

Earlier quoted context omitted.

You're right, and “... that will change how you think about coding” is clickbait. Luckily the article contains an adjective for that, which we've used in the title. Thanks!

I realise moderation is tough an never pleases everyone, but have to say I'm disappointed here: in some circles, "esoteric" carries some quite strong negative connotations, which I think are unwarranted here. Some of these languages are definitely suitable for "serious" usage. And I'm not sure I'd count SQL (or Prolog, for that matter) as esoteric at all!

  > "esoteric" carries some quite strong negative connotations
What? It didn't strike me that way. (And for what's it's worth, I'm a native English speaker; I was a communication major, an English minor, and a technical writer; since college I have continued to dabble in writing and linguistics for over 15 years; and as you can see I even know how to use a semicolon. :)

Had they said "eccentric," maybe I would have agreed. Esoteric, to me, has more the connotation of a secret society of sages.

Anyway, the article itself uses "esoteric."

By they way, I'm so glad that they declickbaited the headline. Thank you, editor!

Post reply on HN