2. Four very exciting parts of speech
Nouns Verbs
String execute
Hash parse
Array merge
Object
Adjectives Adverbs
Accessible each
Adjustable potentialy_referenced_list
Enumerable sequentially
Dragable
4. "lawmakers accused the Census Bureau of
doing a poor job of explaining technical
requirements to Harris Corp"
http://www.latimes.com/
http://www.census.gov/dmd/www/2000quest.html
5. Different Languages / Different
Purposes
"Why metaphorical only, why not natural language as the
programming language itself?" Alistair Cockburn
Natural Language Programming Language
1. Ambiguous 1. Precise
2. Contains Metaphors 2. Directive
3. Redundant 3. Less effective for picking
up women.
6. The Domain Dictionary
Terms and definitions agreed apon between the programmer
and the users.
http://123.writeboard.com/1c3bee94488fdedb3
8. User Requirements
Users will login and choose a quiz. They will
sequentially be delivered a series of questions
each which will contain one correct
answer. Correct answers will improve their
score, while incorrect answers will result in
increasingly higher voltage, and sometimes
fatal electrical shocks.
http://123.writeboard.com/ff81e1c4fd73d7c86
9. Verbs (Actions)
Verbs become methods that act on our obejcts.
Users will login and choose a quiz. They will
then be delivered a series of questions each
which will contain one correct answer. Correct
answers will improve their score, while
incorrect answers will result in increasingly
higher voltage, and sometimes fatal electrical
shocks.
10. Adjectives (Modify Nouns)
Adjectives classify or determine state.
Users will login and choose a quiz. They will
then be delivered a series of questions each
which will contain one correct answer. Correct
answers will improve their score, while
incorrect answers will result in increasingly
higher voltage, and sometimes fatal electrical
shocks.
11. Adverbs (Modify Verbs)
Adjectives classify or determine state.
Users will login and choose a quiz. They will
then be delivered a series of questions which
will each contain one correct answer. Correct
answers will improve their score, while
incorrect answers will result in increasingly
higher voltage, and sometimes fatal electrical
shocks.
14. RSpec Story
Story: transfer from savings to checking account
As a savings account holder
I want to transfer money from my savings
account to my checking account
So that I can get cash easily from an ATM
Scenario: savings account has sufficient funds
Given my savings account balance is $100
And my checking account balance is $10
When I transfer $20 from savings to checking
Then my savings account balance should be $80
And my checking account balance should be $30
15. Articles / Prepositions
An article is a word that combines with a noun to indicate the
type of reference being made by the noun. The three main
articles in the English language are the , an and a .
A preposition links nouns, pronouns and phrases to other
words in a sentence. The word or phrase that the preposition
introduces is called the object of the preposition.
16. Articles / Prepositions
Story: transfer from savings to checking account
As a savings account holder
I want to transfer money from my savings
account to my checking account
So that I can get cash easily from an ATM
Scenario: savings account has sufficient funds
Given my savings account balance is $100
And my checking account balance is $10
When I transfer $20 from savings to checking
Then my savings account balance should be $80
And my checking account balance should be $30