サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
TGS2024
weblog.raganwald.com
(This is a snapshot of my old weblog. New posts and selected republished essays can be found at raganwald.com.) I want to show you my favourite line of ruby code:1, 2 (1..100).inject(&:+) This code works out of the box in Ruby 1.9. This also works in Ruby 1.8 with Rails, thanks to this chunk of code called “Symbol#to_proc”: class Symbol # Turns the symbol into a simple proc, which is especially us
(This is a snapshot of my old weblog. New posts and selected republished essays can be found at raganwald.com.) At Mobile Commons, we have to write a lot of code under time constraints. We also work on a fairly distributed basis, which means that writing readable code is not a luxury, it’s a necessity. We can’t afford to be clever for clever’s sake, but if a new idiom helps make our code easier fo
(This is a snapshot of my old weblog. New posts and selected republished essays can be found at raganwald.com.) Some years back, I was interviewed by an interesting start-up in Palo Alto. I was really tempted to take their offer, mostly because: One of the interviewers was an avid Ultimate player;Stanford. In walking distance. (And the regular Stanford Friz-ball variant game);They asked me a quest
(This is a snapshot of my old weblog. New posts and selected republished essays can be found at raganwald.com.) Well, you recall my mentioning how real life is a lot like high school. The latest manifestation of this is an “Arc backlash.” In case you haven’t seen it, Arc is a programming language designed by Paul Graham and (I think) Robert Morris. Actually, it’s a Lisp dialect, so in some respect
(This is a snapshot of my old weblog. New posts and selected republished essays can be found at raganwald.com.) Breaking news! The irb enhancement gem Utility Belt includes String#to_proc String#to_proc is an addition to Ruby’s core String class to enable point-free hylomorphisms… I’ll start again. String#to_proc adds a method to Ruby’s core String class to make lots of mapping and reducing operat
(This is a snapshot of my old weblog. New posts and selected republished essays can be found at raganwald.com.) I noticed some traffic coming to my post on juggling from Using FizzBuzz to Find Developers who Grok Coding. Like me, the author is having trouble with the fact that 199 out of 200 applicants for every programming job can’t write code at all. I repeat: they can’t write any code whatsoeve
(This is a snapshot of my old weblog. New posts and selected republished essays can be found at raganwald.com. A reformatted and cleaned up version of this post can be found here.) I recently re-read the amazing paper Why Functional Programming Matters (“WhyFP”). Although I thought that I understood WhyFP when I first read it a few years ago, when I had another look last weekend I suddenly underst
このページを最初にブックマークしてみませんか?
『http://weblog.raganwald.com/』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く