are-dependent-types-actually-erased
chadnauseam.com·13w·
Discuss: Hacker News

# Dependent Types and How To Get Rid Of Them 2025-11-02 I saw [an argument](https://news.ycombinator.com/item?id=45793434) on Hacker News today, and realized it was an interesting case where both people were right. A real-life case of this image: ![[Pasted image 20251102222226.png]] The argument had to do with “Dependent Types”. You may have heard of dependent types as “that thing where you can put values in types”. Dependent types are a feature of programming languages that very few people actually use, but many people are interested in them because they sound incredibly cool. And they are incredibly cool! If you feel like you only have a vague idea of what dependent types are, this article is for you! –– ## Notes on Syntax I’ll use Idris syntax for this article. I…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help