Skip to content

Instantly share code, notes, and snippets.

@zerothabhishek
Last active July 10, 2016 05:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zerothabhishek/fba223f4c6653d4c8c2b1ffa00b93743 to your computer and use it in GitHub Desktop.
Save zerothabhishek/fba223f4c6653d4c8c2b1ffa00b93743 to your computer and use it in GitHub Desktop.
FizzBuzz Agenda

The workshop shall be a series of lectures and coding sessions (mentioned as Practical here)

Session-1: Basics

  • Lecture:
    • variables
    • Branching
    • puts, p
    • Define a method
    • IRB
  • Practicals

Session-2: Loops

  • Lecture:
    • loop, break
    • while
    • each
  • Practicals

Session-3: Arrays and Strings

  • Lecture:
    • Array (<<, each, map, size, max, uniq, index, detect, bsearch, sort)
    • String (split, join, chars, size, +, reverse, upcase, downcase)
    • Range (.., each, to_a)
  • Practicals

Break

Session-4: Hashes

  • Lecture:
    • Hash
    • Common operations
    • Symbols
    • Interesting use cases
  • Practicals

Session-5: Classes

  • Lecture:
    • class, object, method
    • instance variables
    • inheritance
    • composition
    • modules
    • class methods
    • Everything is an object
    • self
  • Practicals

Session-6: Blocks

  • Lecture:
    • Closure/proc
    • methods vs procs
    • block
    • yield, call
    • return from blocks
  • Practicals
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment