|
|
|
|
|
by Lammy
1283 days ago
|
|
> seriously - why is biorhythm pseudoscience #2 It's an interactive tutorial on using the `Date` and `OptionParser` classes and printing stuff to stdout. > and how is displaying a calendar on the CLI going to help me It's an interactive tutorial on using the `Date` and `GetoptLong` classes and printing stuff to stdout :) |
|
"This week I'm sharp-as-a-tack, and slow and sad as a sack. Here's to next week!"
and I don't see any value add above linking to examples (not built-ins).
Ex - why not explore OptionParser (the actual built-in!) - and compare to ARGV, or contrast with gets.chomp. Or explain how similar the concept is to something like Yargs from the node side.
Also, as a personal aside - I don't really see a bunch of custom formatted printf statements with no attempt at explanation a very good example at all.