Skip to content

Instantly share code, notes, and snippets.

@r00k
Last active March 7, 2016 10:05
Show Gist options
  • Save r00k/5e0740bcbdefc89e1b20 to your computer and use it in GitHub Desktop.
Save r00k/5e0740bcbdefc89e1b20 to your computer and use it in GitHub Desktop.
Ruby Quiz Question 5

Answer to Question 4:

Looks like an iceberg class to me.

Now keep in mind! A smell doesn't necessarily mean something is wrong. It just means you should give it a sniff to see if fixing it would improve the design.

Final question!

Did you like this? Please answer in a comment below.

@cmoel
Copy link

cmoel commented Mar 21, 2015

For the iceberg class, I saw the smell and knew extracting a class (or two) might be needed but didn't know term term "iceberg class." Thanks for the quiz!

Also, really cool idea using gists for this.

@mrhead
Copy link

mrhead commented Mar 23, 2015

@r00k nice, but short! ;)

@manojmk27
Copy link

πŸ‘ Fun stuff !! Was not familiar with the "Iceberg class" terminology :)

@romanzolotarev
Copy link

πŸ‘

@jewilmeer
Copy link

πŸ‘

@edvinasbartkus
Copy link

πŸ‘ coffee break entertainment!

@dwmoore
Copy link

dwmoore commented Mar 23, 2015

πŸ‘

@tacticiankerala
Copy link

πŸ‘

@lexun
Copy link

lexun commented Mar 23, 2015

πŸ‘

@ktravers
Copy link

πŸ‘

@nicosantangelo
Copy link

πŸ‘

@ridget
Copy link

ridget commented Mar 25, 2015

πŸ‘ I liked that this was short, but covered a lot of ground in a fun way.

@cored
Copy link

cored commented Mar 30, 2015

Great stuff; @r00k I have a question why is the last answer an iceberg class according to Ruby Science book a class which a lot of private methods indicate that the code smell is a big class. Maybe I'm wrong also I did not know that term iceberg class. Again great stuff.

@vysakh0
Copy link

vysakh0 commented Apr 21, 2015

πŸ‘ Was fun, looking for more. :)

@syarynovskyi
Copy link

πŸ‘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment