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
$73,445.00
0.34%
ETHETH
$2,304.11
2.29%
USDTUSDT
$1.00
0%
XRPXRP
$1.36
0.13%
BNBBNB
$611.47
0.28%
USDCUSDC
$1.000
0.01%
SOLSOL
$85.46
0.15%
TRXTRX
$0.320
0.73%
FIGR_HELOCFIGR_HELOC
$1.04
1.81%
DOGEDOGE
$0.0943
0.49%
USDSUSDS
$1.000
0%
WBTWBT
$53.66
0.64%
HYPEHYPE
$42.76
2.41%
ADAADA
$0.254
1.49%
LEOLEO
$10.12
0.1%
BCHBCH
$439.42
1.43%
LINKLINK
$9.22
0.72%
XMRXMR
$338.41
1.26%
ZECZEC
$372.11
2.68%
USDEUSDE
$1.000
0.01%