Tags » User Story

使用者情境(user story) 與 程式邏輯的差別

在寫程式的過程,突然體悟到什麼叫做“使用者情境” 與 “程式邏輯”的差別。使用者情境就是,使用者在操作該軟體會遇到的“情境”,譬如說 使用者按按鈕第一次會得到什麼回應,按第二次會得到什麼回應。

但實際上程式邏輯,並不是這麼簡單,在使用者第一次按鈕的時候,程式可能是先去“撈資料”,再來可能是“比對”,最後才透過介面回饋一個結果給使用者。

所以在寫程式的時候,不可以把使用者情境與程式邏輯混在一起思考。不能想說使用者按第一次得到a, 按第二次得到b,就直接在程式裡面開工。

而是應該把使用者情境寫清楚後,接著開始思考程式邏輯。

為何這簡單的東西我特別要寫出來分享。

因為就是簡單所以才容易犯錯。我就是先用程式邏輯來寫使用者情境。結果因為程式邏輯當會比較複雜啊。所以就以為使用者情境也很複雜。

一般人只要覺得複雜的東西就會開始亂了手腳,甚至讓大腦停止思考,想說一邊錯一邊改就好,但這樣code只會越寫越亂越肥。

Victoria's Story: 1 Year and 7 Lessons That Changed Her Life

Life doesn’t always go as you plan it, and a lot of times, it will throw you a curve ball which can push you off track – or make you change for the better. 1,555 more words

Community

Understanding the seven basic Agile concepts

This blog post describes basic Agile concepts and why they are necessary in the scrum.

What is:

A backlog?

A backlog is a long to-do list of ranked product requirements. 410 more words

Agile Methodology

Best 2015 Fitness "Horror" Story

Last week, we asked you to share your spookiest fitness story with us, and we received quite a few entries that have made more than one of us think twice about running on that dark trail and pack some more lights when we head out.  979 more words

Community

What's in a Story?

I love that we now live in a world where social media serves as a platform for openly sharing knowledge, experience and words of wisdom to anyone who cares to listen in. 1,067 more words

Agile

User Stories & Three C's

I am assuming that everyone in the IT world knows about the user stories but do you know about 3C’s concept of user stories? That’s a good question right? 677 more words

USER STORY AS AGILE PRACTICE

Regarding agile practice, it is common this question: Why use a technique such as User Stories?
Using this technique assists in identifying a logical business requirement, allows breaking requirements in small pieces of requirements, as well as allows structuring these many requirements on a type of tree that will be a baseline for documentation. 507 more words

Agile & Scrum