ネットの情報と比べて本の情報はまとまっていて良質なものが多いです。しかし本の中でも内容はピンキリです。初学者にはより良いものを読んで欲しいので、Twitterで聞いてみました。 [募]関数型プログラミング入門本 2015-04-09 21:58:54 via Hootsuite おすすめされた本一覧 プログラミングの基礎 プログラミング in OCaml 関数プログラミング実践入門 すごいHaskellたのしく学ぼう! 関数プログラミング 関数プログラミング入門 ―Haskellで学ぶ原理と技法― プログラミングClojure Scalaスケーラブルプログラミング Scala逆引きレシピ Scala関数型デザイン&プログラミング 計算機プログラムの構造と解釈 プログラミング言語の基礎概念 Real-World Functional Programming Scheme手習い サイト htt
友人から「しんぺいさん DI について書いてほしい」みたいな話をだいぶ前からされてたんだけど書く気力ずっとなかった。でも仕事の気分転換にちょっとずつ書いたやつがいい量まとまったので公開するです。たいしたことは書いてないっていうか知ってるひとにはあたりまえのことしか書いてない。サンプルコードはわたしの趣味で Scala で書いてあるが、Java が読めればなんとなく読めると思います。 DI ってなに Dependency Injection、日本語で言えば依存性の注入です。おしまい。 で記事を終えてもいいんだけど、そもそも依存性とはなんなのか、それを注入するとはどういうことなのか、なぜ DI が必要となるのかみたいな話をこれからします。 そもそも依存性ってなあに 例を出します。入力された文字列をもとにおみくじをひいて、その結果を twitter に投稿するプログラムにしましょう。 まずは普通
わりと以前から書いてみたかったことなので、書いてみます。 たとえば最近ではここ Web✕Java - HTML5で進化したWeb標準を、Java技術でどう扱うのか?でStruts使ってる人へJSFの説明をしてきた #jjug #html5biz でとりあげられていたりします。*1 昔からずっと言われてる話です。ですが、「互換性がない」とある程度多くの人が口をそろえて言う一方、「ではどのくらいの互換性があればいいのか(どういうポリシー?どのくらいの期間を保証?)」という具体的な議論がほとんどされていない気がします。 なので、もうちょっと具体的に考えてみたいと思います。 先日こんなtweetをしました @seratch 順調にいけば今年中にScala2.11はRC出るくらいになりそうだし、3世代クロスビルド(2.9、2.10、2.11)はかなり厳しいので、もし2.11サポートと同時に2.9切り
注意:この記事の内容は、2013年7月2日現在、やや古くなっています。現在は「Use external build」のチェックはONにしたままで、「Use project FSC」をチェックしない方が安定して動作します。これは、最近のアップデート(ここ1〜2ヶ月くらいの話ですが)「Use external build」を使ったときに、IDEAが内部でzincというsbtベースのスタンドアロンなコンパイラを内部で使うようになった事に起因しています。コンパイラの設定以外は現在でもそのまま通用しますが、このエントリを読んでIntelliJ IDEA + ScalaプラグインによるScala開発を行おうとしている人は注意してください。 これは、Scala入門をIntelliJ IDEAでやろうとしている人向けのエントリではありません。このエントリでは、IntelliJ IDEAのScalaプラグイ
割とどうでもいい前置き(読まなくてもよい) ニコニコ動画の公開APIが発表されてはや数年、「いずれドキュメント化したい」みたいな話が運営からありつつ一向に音沙汰がないまま時間だけが過ぎてきました。(外部プレーヤーや各種APIの開放について) その間ニコ生やらなんやらが流行ったりなんかして、いろんなところで解析なんかが行われたりなんかしてニコニコのサービスを外部から利用する手段はたくさん流通しているものの個人的には「なんかハックな感じでいやだなー」という印象でした。 ハックな感じで嫌だ、っていうのは何かものを作って公開するにあたって非公式なAPIだと本家の仕様に振り回されるし、情報は錯綜するしで利用する側としては居心地が良くないという意味です。そこら辺を気にしないのがマッシュアップであったり最近の考え方であったりするとすれば自分は古い人間なんでしょう。とりあえず「tcpdumpとか嫌だよう、
Scala の作者である Odersky らが書いた「Scala スケーラブルプログラミング」の第2版が出版されました。 Scalaスケーラブルプログラミング第2版 作者: Martin Odersky,Lex Spoon,Bill Venners,羽生田栄一,水島宏太,長尾高弘出版社/メーカー: インプレス発売日: 2011/09/27メディア: 単行本(ソフトカバー)購入: 12人 クリック: 235回この商品を含むブログ (46件) を見る 僕は Haskeller で Scala は初心者です。その僕から見て、この本は本格的で良質な関数型言語の入門書に仕上がっています。特に、関数型言語を学びたい Java プログラマーに、この本をお勧めします。 この本は分厚いので、敬遠したくなるかもしれませんが、それぞれの章は小さくまとめられており、内容もこなれています。訳もよいので、案外すらすら
1/20発売予定のオライリージャパンの新刊、『プログラミングScala』を献本いただきました。 プログラミングScala 作者: Dean Wampler,Alex Payne,株式会社オージス総研オブジェクトの広場編集部出版社/メーカー: オライリージャパン発売日: 2011/01/20メディア: 大型本購入: 3人 クリック: 320回この商品を含むブログ (38件) を見る この本の敷居ははっきり言って高く、『Scalaスケーラブルプログラミング』に近いレベルだと思います。その難しさは、Scalaの型システムと関数型プログラミングを正面から解説しているところから来ています。重いテーマなので後回しにしたくなりますが、この部分の理解が曖昧なままでは、結局、いつまで経ってもScalaを理解したことにならないので、本書や『Scalaスケーラブルプログラミング』のような正面突破のアプローチは正
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く