scala_school icon indicating copy to clipboard operation
scala_school copied to clipboard

basics2 "object FooMaker" example before we intro "object"

Open lahosken opened this issue 12 years ago • 0 comments

The apply() section has a factory object. That makes some sense, since that's a common idiom that uses apply().

But we don't intro "object" until the next section, whoopsie.

Mmmaybe reorder sections. Mmmaybe replace "object FooMaker" example with text blurb saying something like "One of the main uses of .apply is a factory object, as shown in the next section." Or maybe some much more brilliant idea.

lahosken avatar Dec 20 '12 18:12 lahosken