2019/12/30 にっき

最近さぼりがちだったので書くことにした、休んだときしれっと投稿しはじめるほうがいいのは学校もブログも同じなんだよな...

ruby-signature

読んだ

github.com

修正で積んでもらったコミットを読んでいた github.com

修正コミット、自分のforkしたリポジトリに積めるんだ!?とちょっとびっくりしていた

help.github.com

true/false/nilは、特定のメソッドがboolじゃなくてtrue/falseを返すことが確定してたりして、若干特殊なケースぽい。 型検査器とセットでいろいろ試さないとなんか使い勝手で困りそうな気がする。

TypeScriptの場合は一番詳しい型から徐々にゆるい型の順序でオーバーロードを書くのがよいよう

In order for the compiler to pick the correct type check, it follows a similar process to the underlying JavaScript. It looks at the overload list and, proceeding with the first overload, attempts to call the function with the provided parameters. If it finds a match, it picks this overload as the correct overload. For this reason, it’s customary to order overloads from most specific to least specific. www.typescriptlang.org

FalseClass型付けた github.com

旅先の服装調べるときにここが便利っぽい wear.jp

GitHubのコミュニティ情報はべんり

ライセンス抜けてたりしないか✓してくれる

https://github.com/ruby/ruby-signature/community

ボーイスカウトルールのジェンダーニュートラルな言い換え

こないだ調べたときはリブランディングでScouts BSAになったしScout Ruleでどうでっしゃろ?的な記事をみつけたんだけど

dev.to

Scouts BSAが訴えられていた

nypost.com

Twitterググるとこれがひっかかって

リプライツリーのhappy camper ruleとかCampsite Ruleそういうのがよさそうな感じだった(Campsite Ruleはなんか別の本の内容が出てきて若干紛らわしい)。部活動をしていたころ「きたときよりもうつくしく」みたいな謎単語があった気がする。

いいなと思ったらKyashでお金を下さい
20191128011151
GitHubスポンサーも受け付けています
https://github.com/sponsors/hanachin/