Skip to content
Code samples for "Fun, Friendly Computer Science" talk in Ruby
Ruby HTML JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
spec
storage
tmp
vendor
.browserslistrc
.gitignore
.rspec
.rubocop.yml
.ruby-version
Gemfile
Gemfile.lock
README.md
Rakefile
babel.config.js
config.ru
package.json
postcss.config.js
yarn.lock

README.md

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
You can’t perform that action at this time.