HackerTrans
トップ新着トレンドコメント過去質問紹介求人

nv-vn

no profile record

コメント

nv-vn
·10 年前·議論
> Also I would argue that Scala is much better suited for writing compilers than Haskel.

Any examples of how it can help out?
nv-vn
·10 年前·議論
The combination of stronger type systems (especially dependent typing), less error-prone design (no manual memory management, no mutation, no global state, no loops/off-by-one errors), separated side effects (crashing during computation won't break things, less places for outside interference/external failure, etc.), and better error handling (no null, usually no exceptions meaning you have to encode failure into the return value itself without losing type information) solves many common bugs in imperative code.