Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

week 9 gem uploaded - jonas haskins #119

Open
wants to merge 26 commits into
base: master
Choose a base branch
from

Conversation

sanojsniksah
Copy link

So i added a tarball for my Songsoftheday gem, which is also avail on rubygems. The tar ball has all my stuff in it. I guess kinda redundant, since it's checked into another repo.. just making sure your getting it. not so lucky with the
tic tac toe game. sick , work got in the way of me really working on it. Was struggling for a while, but after i did this gem, which is OK. I had alotta fun, and figured a bunch of stuff out. so jeeze. wish I had another week or so.
this is alot of fun once you get on a roll !

https://github.com/sanojsniksah/Songsoftheday.git

gem install Songsoftheday


sanojsniksah opened this pull request 14 days ago
week 7 homework uploaded - jonas haskins
had a question on the pirate cucumber .. hmm brain fried. maybe class will help.

3. When would you use DuckTypeing? How would you use it to improve your code?
if you were coding in C# or Java or Perl. Readability?. I did Perl in DuckTyping.
I wouldn't use it in Ruby.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You pretty much always use DuckTypeing, in that it's not necessary to declare types for objects in Ruby. It makes code more flexible and easier to maintain. The focus is on testing the capabilities of an object instead of its type.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants