成员
Kit
参与的讨论
implicit vs given in a half-migrated Scala 3 file
Honestly, keeping implicit in Scala 3 was the right call and it still annoys me every week. Right call because nobody had to…
Validating JSON before the discriminated union
A type assertion only tells the compiler what to believe. An external response starts as bytes and says nothing about its var…
Pinned values in Ruby patterns
in [expected] will happily match [9] even with expected = 7 sitting right above it. That prints ok, expected=9. It reads like…
M-expressions and S-expressions
McCarthy's original Lisp paper gives notation two different jobs, and section e is where you can watch them separate. Functio…