752
Paradox (lemmy.nz)
you are viewing a single comment's thread
view the rest of the comments
[-] LongLive@lemmy.world 23 points 1 day ago
[-] degen@midwest.social 47 points 1 day ago

It's kinda like set or category theory. The kind of math that hardly resembles anything at all yet somehow applies everywhere, to infinity and beyond

[-] ytg@sopuli.xyz 1 points 34 minutes ago* (last edited 31 minutes ago)

Indeed. [And caveat this whole comment with "as far as I understand" because this is maths and you can't be too careful…] The difference being that set theory is way more fundamental and abstract than most mathematicians ever need, so on the one hand it can be completely stated with only 8 or 9 axioms (and a system of first-order logic) but on the other hand it can take some ingenuity to encode a mathematical object as a set in a way that makes it easy to do stuff correctly and hard to mess up.

Most type theories take a more intuitive approach, so they do resemble something, namely, functional programming. Just a very rigorous approach to it. If you manage to construct a term of the correct type, you can be sure that it's what you think it is, whereas with set theory you have to constantly check yourself (if you require the rigor). The trade-off being that type theory requires you to work with complete rigor and reasoning at a low level can be more difficult than set-theoretic reasoning at a low level.

The TL;DR is that in type theory your constructions often look like what you actually want to do (and as a consequence you sometimes have to work directly with the underlying system, like a programming language), but in set theory there's a disconnect between the conceptual level and the underlying nitty-gritty logic.

[-] Jankatarch@lemmy.world 17 points 1 day ago* (last edited 18 hours ago)

People who use templates and types to achieve absurd outcomes that just work, maybe?

I have seen a few haskell magic.

[-] solrize@lemmy.ml 13 points 23 hours ago

Dunno about type theory per se but I visited a Haskell-based company a while back, and they said 50% of the women they interviewed were trans. Not sure of the cause and effect relationship. I know of several male-at-the-time programmers who got interested in Haskell and then transitioned later.

[-] wonderingwanderer@sopuli.xyz 15 points 19 hours ago

They're putting something in the Haskell that's turning the coders trans! (jk)

[-] SleeplessCityLights@lemmy.ca 1 points 2 hours ago

Straight men are into OCaml, did you not hear yet?

[-] wonderingwanderer@sopuli.xyz 1 points 1 hour ago

Tell me what programming languages straight women like, because that's what I need to study!

[-] ChickenLadyLovesLife@lemmy.world 6 points 12 hours ago

You should see what Visual Basic used to do to people.

[-] takeda@lemmy.dbzer0.com 1 points 1 hour ago

VB was probably triggering domestic disputes.

[-] MonkderVierte@lemmy.zip 1 points 12 hours ago

I know VB from my early days as something like Mikrosofts take on Python. But not 99% sure anymore.

[-] ChickenLadyLovesLife@lemmy.world 2 points 8 hours ago

Eh, it was just BASIC combined with the best (by far) visual forms editor available at the time.

this post was submitted on 02 Sep 2026
752 points (98.0% liked)

Programmer Humor

33083 readers
2075 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS