Blog

Mar 04, 2026

Deriving Dependently-Typed OOP from First Principles

This paper tackles the expression problem in the context of dependent types by showing that functional and object-oriented programming are dual paradigms rooted in data and codata. Rather than extending OOP with dependent types in an ad-hoc way, the authors derive a dual, dependently typed object-oriented calculus using defunctionalization and refunctionalization. The result is a language with two semantically equivalent fragments—functional and object-oriented—connected by type- and semantics-preserving transformations, expanding the theoretical foundations and extensibility of typed programming languages.

Source: HackerNoon →


Share

BTCBTC
$70,759.00
0.17%
ETHETH
$2,155.22
0.51%
USDTUSDT
$1.000
0.01%
XRPXRP
$1.45
0.62%
BNBBNB
$642.71
0.06%
USDCUSDC
$1.000
0%
SOLSOL
$90.39
1.29%
TRXTRX
$0.309
1.8%
FIGR_HELOCFIGR_HELOC
$1.03
2.72%
DOGEDOGE
$0.0948
0.18%
WBTWBT
$55.38
0.44%
USDSUSDS
$1.00
0.01%
ADAADA
$0.267
2.12%
BCHBCH
$471.23
1.73%
HYPEHYPE
$39.48
0.7%
LEOLEO
$9.22
0.14%
LINKLINK
$9.13
0.1%
XMRXMR
$348.28
3.01%
USDEUSDE
$1.000
0.04%
CCCC
$0.147
3.41%