#Object Oriented Javascript TODO
#Overview
- Creating Objects in JavaScript
new Object();
- Object Literal Notation (Important)
- Factory Function
- Review JavaScript's
this
- More Creating Objects in JavaScript
- Constructor Function
.PHONY: run | |
SHELL := /bin/bash | |
# If the first argument is "run" | |
ifeq (run,$(firstword $(MAKECMDGOALS))) | |
# use the rest as arguments for "run" | |
RUN_ARGS := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS)) | |
# turn them into blank targets | |
$(eval $(RUN_ARGS):;@:) |
#Object Oriented Javascript TODO
#Overview
new Object();
this
#Exception Handling
#Bullet Points
raise
or fail
#Demo / Live-code Overview
#What is an API?
#Overview
#What is an API?
#Due Monday
P 5-9 Due Monday along with P10 MVP Outline as Issue On Challenge P10 Presented on Friday
P7 Reviews
#Jasmine - Unit Testing for JavaScript
#Object Oriented Javascript
#Overview
new Object();
this
#Event Driven Programming
#Overview
#First-class nature of functions
desc 'Generate a migration timestamp' | |
task 'mtimestamp' do | |
puts Time.now.strftime("%Y%m%d%H%M%S") | |
end | |
desc 'Test Drive Code' | |
task "driver" do | |
puts "ADD #{`ruby todo.rb add Bake a delicious blueberry-glazed cheesecake`}" | |
puts "LIST #{`ruby todo.rb list`}" |
Originally published in June 2008
When hiring Ruby on Rails programmers, knowing the right questions to ask during an interview was a real challenge for me at first. In 30 minutes or less, it's difficult to get a solid read on a candidate's skill set without looking at code they've previously written. And in the corporate/enterprise world, I often don't have access to their previous work.
To ensure we hired competent ruby developers at my last job, I created a list of 15 ruby questions -- a ruby measuring stick if you will -- to select the cream of the crop that walked through our doors.
Candidates will typically give you a range of responses based on their experience and personality. So it's up to you to decide the correctness of their answer.