サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
Pixel 9
www.greyblake.com
About three weeks ago I decided to completely rewrite the frontend of Inhyped.com from TypeScript to ReScript. In this article, I'd like to share my experience and learnings. You can see my tweets regarding the rewriting, they're marked with hashtag #FromTypescriptToRescript. The source code of both TypeScript and ReScript versions is available on GitHub. Why ReScript? I enjoy Rust's type safety a
As you know, Rust does not support optional function arguments nor keyword arguments, nor function overloading. To overcome this limitation rust developers frequently apply builder pattern. It requires some extra coding, but from the API ergonomics perspective, gives a similar effect as keyword arguments and optional arguments. Introduction to problem Consider the following rust structure: struct
Ruby is a cool language with intuitive grammar. However there are a number of things which don't seem to be expected. It might take long hours to debug some weird issues for unenlightened newbies. Implicitly variable declaration Variable mentioned in conditional block of code become declared and initialized with nil even if the declaration was not executed. if false var = "never executed" end var
このページを最初にブックマークしてみませんか?
『www.greyblake.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く