https://www.harudagondi.space/blog/torturing-rustc-by-emulating-hkts/ #PretendGenius #CurryHoward #TechHumor #CodingLife #HackerNews #ngated
[ํ์ ์ ์ด๋ป๊ฒ ์ฆ๋ช ์ด ๋๋๊ฐ โ TypeScript ํ์ ์์คํ ๊ณผ CurryโHoward ๋์
TypeScript์ ํ์ ์์คํ ์ CurryโHoward ๋์์ ํตํด ๋ ผ๋ฆฌํ์ ์ฆ๋ช ์์คํ ์ผ๋ก ํด์ํ๋ ๊ด์ ์ ์ ์ํ๋ฉฐ, ํ์ ์ถ๋ก ์ด ๊ฐ๋ฅํ ์ด์ ๋ฅผ ๊ฐ๋ ์ ์ผ๋ก ์ค๋ช ํฉ๋๋ค. ํจ์ ํ์ , ์ ๋ค๋ฆญ, ์กฐ๊ฑด๋ถ ํ์ , ํ์ ์ขํ๊ธฐ ๋ฑ์ TypeScript ๊ธฐ๋ฅ์ ๋ ผ๋ฆฌ์ ํจ์, ๋ณดํธ ์ํ, ๊ฒฝ์ฐ ๋ถ์์ ๋์์์ผ ์ค๋ช ํฉ๋๋ค.
[ํ์ ์ ์ด๋ป๊ฒ ์ฆ๋ช ์ด ๋๋๊ฐ โ TypeScript๊ฐ ์จ๊ธฐ๊ณ ์๋ Curry-Howard ๋์
TypeScript์ ํ์ ์์คํ ์ Curry-Howard ๋์ ๊ด์ ์์ ํด์ํ๋ฉฐ, ํ์ ์ฒดํฌ ๊ณผ์ ์ด ๋ ผ๋ฆฌ์ ์ฆ๋ช ๊ณผ์ ๊ณผ ์ ์ฌํ๋ค๋ ์ ์ ์ค๋ช ํ๋ ๊ธ์ ๋๋ค.
https://news.hada.io/topic?id=26119
#typescript #curryhoward #typesystem #programmingtheory #typechecking
Not withstanding #CurryHoward (propositions are types, proofs are values), typical IT coders (even the skilled non-vibers) today can no longer read and do proofs. Most coders in the industry are not even aware that mathematics is at the foundation of computing. A few who are aware invariably throw up this trite defence: modern IT has evolved beyond that ancient notion of โ#programming is a #mathematical activityโ.
That โmaths is superfluous to codingโ argument is as fallacious as proposing to sack all airline transport pilots because modern airliners can now takeoff, cruise, and land automatically, or calling to defrock all mathematicians because there are now proof assistants, like Agda and Lean.
Latin is no longer the lingua franca, but classics students still learn this so-called dead language. Pilots no longer need to hand fly airliners, but they still maintain their stick-and-rudder currency. The undergraduate maths curriculum is now automated in Lean (see Buzzard), but every maths undie can still whip out paper proofs, on demand. Likewise, programmers no longer rely on proofs in their daily work, but they should still hone this essential skillโbecause it is good for the mind.
Terminando mi maestrรญa, me gustarรญa volver a mi alma mater a dar clases de "Programas como Pruebas" (en Haskell). Hasta donde se no hay un currรญculo al respecto en la uni, pero podrรญa intentarlo...
#haskell #programsasproofs #functionalprogramming #curryhoward
Proofs are programs, and programs are proofs. That's basically what the Curry-Howard correspondance says. While learning about direct proofs in math, it helped me to think of a direct proof as a simple function that I was trying to write...