2015年3月24日のブックマーク (4件)

  • 若手開発者の後悔 | POSTD

    (編注:2020/08/18、いただいたフィードバックをもとに記事を修正いたしました。) これはある仕事熱心な若手開発者のほぼ実話です。2004年の後半、この若手開発者は小さな会社で働き始めました。条件は全て彼の望みどおりでした。給料はいいし、扱うのは彼の得意とするプログラミング言語、アプローチの複雑性、モデリングのアーキテキチャでした。 彼にとって今回の会社が初めての職場ではありませんでした。しかし、ここでの最初のプロジェクトは結果的に 問題だらけ に終わりました。当時、この若手開発者は、機能は絶対に変わらないものだと思っていました。しかし、それは間違いでした。機能が変更されるたびに完全なリファクタリングを行わなければなりませんし、バグを引き起こして膨大な時間を無駄にしてしまいます。彼は、テストを書くといった実直な方法も試してみましたが、書いたテストはメンテナンスが必要な上、書くのに時間

    若手開発者の後悔 | POSTD
    yasulabs
    yasulabs 2015/03/24
    “「でも、また別のバグが出てきたらどうするんですか? 」と、若手開発者が問います。 「フリーランスを呼んで修正させる」と、ベテラン開発者が答えます。”
  • 3 Design Layouts: Gutenberg Diagram, Z-Pattern, And F-Pattern - Vanseo Design

    Several layout patterns are often recommended to take advantage of how people scan or read through a design. 3 of the more common are the Gutenberg diagram, the z-pattern layout, and the f-pattern layout. Each offers advice for where to place important information, but I think these patterns are often misunderstood and followed without thought to what they really describe. I want to walk through t

    3 Design Layouts: Gutenberg Diagram, Z-Pattern, And F-Pattern - Vanseo Design
    yasulabs
    yasulabs 2015/03/24
    “The Gutenberg diagram divides the layout into 4 quadrants. Primary optical area located in the top/left Strong fallow area located in the top/right Weak fallow area located in the bottom/left Terminal area located in the bottom/right”
  • Upcoming changes in Rails 5.0 - Intercity

    RailsConf is around the corner, that means a new major Rails version is also waiting to be released! In this article, I want to talk about some of the noticeable changes that are confirmed to be in the new version. I will also talk about some changes that are not yet merged but have a high chance of being merged. No more typing rake commands In Rails 5 all the current rake commands will be accessi

    yasulabs
    yasulabs 2015/03/24
    “No more typing rake commands: In Rails 5 all the current rake commands will be accessible via the rails command. When you want to run a migration, you will type rake db:migrate in Rails 4. In Rails 5 this will become rails db:migrate.”
  • 逆,裏,対偶

    ■ 逆・裏・対偶 【 このページの要約 】 ・ある命題 「p → q」 ( p ならば q ) が真(正しい)のとき,その対偶 は真(正しい)であるが,逆や裏は必ずしも真(正しい)とは限らない. ・ある命題 「p → q」 ( p ならば q ) とその対偶とは真偽が一致するので,対偶の真偽を示せば元の命題の真偽が示せる. ・逆の裏は対偶,裏の逆も対偶,逆の対偶は裏・・・などが成り立つ. ・ 命題 p → q には,集合の包含関係 P⊂Q が対応する. これを集合の要素で表わせば,「どんな x についても,x∈ P → x∈ Q 」になる. ・ P⊂Q ⇔ ⊂ だから,p → q ⇔ → が成り立つ.

    yasulabs
    yasulabs 2015/03/24
    “命題「 p ならば q 」が成り立たないのは,「 p であってかつ q でないとき」だけである.すなわち,「 p ならば q 」⇔「 p かつ Bar_102('q');——qw 」以外”