Symbol Introduction

I just got to the Object Oriented Programming section and found the first formal, in-depth introduction to symbols in the Alpha Curriculum. Considering that symbols are brought up before this – as ways to call methods in the Blocks and Procs section, as keys in the Hashes and Classes sections, and as a way to represent data in the I/O section (Tic-Tac-Toe) – it might be a good idea to introduce symbols before the second-to-last section of the course.

My recommendation would be to talk about their properties in the blocks and iteration section when they are brought up as a way to simplify block writing (e.g. instead of { |el| el.to_s } ) and then introduce more of what you can do with symbols as they come up.

1 Like