mercedesb / fun_friendly_cs_ruby

Code samples for "Fun, Friendly Computer Science" talk in Ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fun, Friendly Computer Science -- Ruby

Code samples to support my "Fun, Friendly Computer Science" talk.

Talk Abstract

Computer science concepts like Big O Notation, set theory, data structures, and principles of object-oriented programming sound intimidating, but they don’t have to be! This talk will dive into some fundamental computer science topics and debunk the myth that only ‘real’ programmers know CS.

Whether you are a bootcamp grad, self-taught career switcher, or someone who, like me, didn't pay attention in night class, join me as we explore some computer science theory behind the code we write every day through fun illustrations and real-world examples.

Ruby on Rails

All of the code samples are written in Ruby on Rails. This is a vanilla RoR setup.

Ruby version

Please refer to .ruby-version to find the Ruby version for this project. You may want to use a Ruby version management tool to install and set your local Ruby version. I prefer rbenv.

Dependencies

I tried to reduce dependencies as much as possible. This project uses Bundler to manage the Ruby gems. If you don't already have Bundler, you can install it as you would any other gem.

gem install bundler

This project uses Yarn as the package manager. If you don't already have Yarn and are on Mac or Linux, you can use Homebrew to install it

brew install yarn

Project set up

git clone https://github.com/mercedesb/fun_friendly_cs_ruby.git
cd fun_friendly_cs_ruby
bundle install
yarn install
rails server

Running the tests

This project uses Rspec as the unit testing framework.

bundle exec rspec

About

Code samples for "Fun, Friendly Computer Science" talk in Ruby


Languages

Language:Ruby 81.5%Language:HTML 13.2%Language:JavaScript 2.8%Language:CSS 2.5%