Skip to content

Instantly share code, notes, and snippets.

@martinstannard
Last active July 28, 2016 02:21
Show Gist options
  • Save martinstannard/971210c547d1af8223f7e3219b719962 to your computer and use it in GitHub Desktop.
Save martinstannard/971210c547d1af8223f7e3219b719962 to your computer and use it in GitHub Desktop.
GA Interview Questions
Ruby
* What is a class?
A class is the blueprint from which individual objects are created.
* What is a module?
A namespaced collection of functions, typically used for mixins
* What does a ||= 1 do?
* What is a block?
* When do you use `yield`?
When you write a method that takes a block, you can use the yield keyword to execute the block.
* What is `self`?
The current object
Rails
* describe a RAILS request
* What is an API
* What are http verbs - difference between POST and PUT
JS
* What sort of inheritence does JS use?
Prototypical -
* What's the difference between between prototypical and classical inheritence
Prototypical
* What does the following code do:
console.log('s')
setTimeout(function() {
console.log('d')
}, 200)
console.log('f’)
Testing
* What some different sorts of testing? (unit, acceptance )
* What are the benefits of testing? TDD, refactoring, documenting
* What is CI?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment