• CameronDev@programming.dev
    link
    fedilink
    arrow-up
    7
    ·
    5 hours ago

    The speed in the quality-cost-speed triangle refers to the speed of producing the widget/code. The execution speed would fall under quality.

    You can still only pick 2.

  • Kache@lemm.ee
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    7 hours ago

    No so much that YAGNI falls short, but more like “When YAGNI means ‘You Are Gonna Need It’”

  • MajorHavoc@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    28 minutes ago

    Ooh. I like this a lot.

    YAGNI is for what you code, not how you code.

    With how you code, you are gonna need it:

    • Quality – You are gonna need quality.
    • Maintainability – You are gonna maintain it.
    • Replaceability – You are gonna replace it.
    • Testability – You are gonna test it
    • Security – You are gonna need security.