Natural Numbers First thing first, if we're going to implement a sort algorithm, we need something to sort. We'll be using natural numbers. Of course, there's no natural numbers available out of the box in Scala's type system. We need to create a type for each and every natural number! Creating an infinity of types might end up being a little time consuming, so we'll do something a little smarter.
Motivation After about a year and a half of coding in C++, things are finally starting to click. Learning the syntax is just the tip of the iceburg, what’s more important is the underlying behavior and possible side effects of our choices. For example, what happens if you don’t make an accessor of a member function const? Usually, nothing - but as time goes on, and more engineers modify the same c
幕末に日本を訪れた外国人が驚いたことの一つに、日本人がひどく酒癖が悪いというものがある。例えばヘボン式ローマ字で知られるヘボン(日本在住1859~92)は昼間っから酒を飲んで酔いつぶれ、あるいは大暴れしている人びとの多さに驚き、また酔って仕事もままならなくなる日本人家事使用人たちに悩まされている。せめて仕事中ぐらいは酒を飲まない労働者を雇えないかと日本人商人に尋ねるが、そんな日本人を見つけるのは難しいと言われて途方に暮れていた。他の外国人もすっかり出来上がった武士の姿に恐怖を感じている。昼間っから刀持った酔っぱらいが歩いているんだからそりゃ怖い。ヘボンに遡ること三百年、ルイス・フロイスも戦国時代の日本人の酒癖の悪さを書き留めていて、もちろん欧米でも酔っぱらいは多かったものの、西洋人からは日本人の酔い方は度を越して酷いと見られていた。 武士も町人も昼間っから酒を飲んで仕事もそこそこに、そこら
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く