Skip to content
Paweł Gościcki

Paweł Gościcki

Random pieces of code, thoughts and movie reviews

Pages

  • Movie reviews
  • Projects
    • WP Movie Ratings

Recent movies

  • Half Man (TV Mini Series, 2026)
    * * * * +

    Very good, though not nearly as good as Richard Gadd's long-form debiut (Baby Reindeer). Only falls down a little bit in the very end.

  • Dark Matter S02 (TV Series, 2026)
    * * * +

    It's OK. Unfortunately just OK. The cast/acting is great. The story as well, but the confusion is just too big. Too many Jasons. Too many Amandas. Too many Danielas. Just too many to make any kind of informed decision as to which universe they are from. Even YouTube recappers get it wrong.

  • Small Prophets S01 (TV Series, 2026)
    * * * +

    Watchable. Kinda ok, kinda weird, kinda funny.

All movie ratings »

Archives

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Hash#fetch

{}.fetch(:a) { 0 }
=> 0

I think it’s really beautiful. Oh, and it’s Ruby, btw.

Update: this is even better:

{}.fetch(:a) { {} }
=> {}

Published by

Paweł Gościcki

Ruby/Rails programmer. View all posts by Paweł Gościcki

Posted on August 30, 2011June 19, 2022Author Paweł GościckiCategories programming, ruby

Post navigation

Previous Previous post: hookup is the shit!
Next Next post: My first pull request to a public project has been accepted
Proudly powered by WordPress