Questions tagged [ruby]

This tag is for questions about teaching Ruby specific concepts. Use this tag only when the language used would affect the question significantly. If your question uses Ruby as an example, but does not focus on the language itself consider a more general tag instead.

Filter by
Sorted by
Tagged with
4 votes
6 answers
738 views

What are some examples that could be used when teaching subroutines or methods in the context of OO?

I'm going to be teaching a group of high school students about programming, and I have a general curriculum designed already, but I can't quite figure out how to introduce methods. I'll be teaching ...
thesecretmaster's user avatar
  • 4,795
2 votes
2 answers
376 views

A quick ruby crash course

I have some students in highschool who already understand programming concepts (generally), and are fairly familiar with Python's syntax and logic, and have a beginning awareness of OOP in Python. I'd ...
auden's user avatar
  • 4,724
5 votes
3 answers
178 views

What are good projects for metaprogramming?

When I teach metaprogramming like dynamically defining methods and method delegation, students usually understand what it is fairly quickly because it's simply a dynamic way of doing something they've ...
thesecretmaster's user avatar
  • 4,795
4 votes
2 answers
112 views

Ruby backend framework choice: Ruby on Rails vs Sinatra

In Ruby, the vast majority of usage is in web backends, 99% of the time with a framework called Ruby on Rails. My problem with rails is that it is full of "magic," wherein you type a command, and ...
thesecretmaster's user avatar
  • 4,795