#Objective
###What are Blocks, Procs and Lambda?
- Explain the differences between them
- Ability to perform an action on each element of array using at least two methods
###Quick Review on Loops and Arrays
- Loops
#Objective
###What are Blocks, Procs and Lambda?
###Quick Review on Loops and Arrays
| # -*- encoding : utf-8 -*- | |
| # config/deploy.rb | |
| require 'capistrano/ext/multistage' | |
| require "rvm/capistrano" | |
| require 'bundler/capistrano' #Using bundler with Capistrano | |
| require 'cape' | |
| set :stages, %w(staging production) | |
| set :default_stage, "production" |
| You'll need to explain how to set up simple and complex HTML forms, including the following elements: | |
| <form> | |
| <button> | |
| <fieldset> | |
| <form> | |
| <input> | |
| <label> | |
| <legend> | |
| <meter> |
Generally speaking, a function is a "subprogram" that can be called by code external (or internal in the case of recursion) to the function. Like the program itself, a function is composed of a sequence of statements called the function body. Values can be passed to a function, and the function can return a value.
1. function name
The same as a variable name
languages = ['CoffeeScript', 'JavaScript', 'Ruby', 'Python']
learn(languages)
Expected Result:
> CoffeeScript is CS
printSpecial([12, 33, 144, 122])
# 12 -- 33 -- 144 -- 122
<form action="/search" method="">
<input type="text" name="p" value="">
<input type="submit">
</form>User Acceptance Test
Integration Test
Unit Test
Stress Test
Profiling