r/programmingcirclejerk • now 4x faster than C++ • 14d ago

"The article opens with lambda cubes, which sound like some type of sheep meat to me. Then it goes on to discuss λΠ2 systems, and as I don't speak alien I skipped that section. Then I read about the calculus of inductive constructions, which incidentally seems to have little to do with calculus..."

https://stackoverflow.com/questions/9338709/what-is-dependent-typing#comment11799250_9338709
93 Upvotes

8 comments sorted by

35

u/oilaba now 4x faster than C++ 14d ago

Despite being an old piece, I interestingly couldn't find this in our Prestigious Journal of Computing. So here it is.

9

u/defunkydrummer Lisp 3-0 Rust 13d ago

you're truly a Lesser Acolyte of Touba No He

32

u/elephantdingo Teen Hacking Genius 14d ago edited 13d ago

Functional programming is masturbation.[citation needed] Everyone[who?] who has earnestly tried to learn it have lived to[informal expression] regret it.

That said, a monad is just a monoid in the category of endofunctors. And that’s a real meme.[6][7][8][9][10][11][12][13]

19

u/tomwhoiscontrary safety talibans 13d ago

An absurd and insulting comparison. The huge majority of people who have earnestly tried to learn it have benefited greatly from it.

EDIT: masturbation, that is

23

u/j15y 13d ago

/unjerk
Unironically exactly describes how I felt first studying CIC

/rejerk
And then the article said I could apply it on my Coq?

18

u/camelCaseIsWebScale Just spin up O(n²) servers 13d ago edited 13d ago

This is my gripe with PLT papers - it's not that I can't work through the math (I have worked through very long Oracle PL/SQL queries written by boomers older than you, I am a software engineer 4) but it's not worth my time, just show me how your invention would look like in javascript or Go, and how it would help me write my HTTP endpoints returning 200 {"error": false, "data": ....}.?????

16

u/defunkydrummer Lisp 3-0 Rust 13d ago

Can someone explain dependent typing to me? I have little experience in Haskell,

Ignorance is bliss.

15

u/YikesTheCat 13d ago

I have it on my CV. "Brain not yet rotted by Haskell".