Quantcast
Channel: Dave Copeland :ruby:
Viewing all articles
Browse latest Browse all 644

Article 5

$
0
0

gist.github.com/davetron5000/4

I don't see a reason to test for `nil` by default, but if there ARE reasons, then I would add a test for that (and change the code to throw ArgumentError in the constructor, again without additional reasons to do something else).

Note that I DO test both 18 and more than 18 because bugs lie on these boundaries and our culture often uses the phrase "over 18" to mean “18 or over”.
ruby.social/@lucian/1130784634


Viewing all articles
Browse latest Browse all 644

Trending Articles


Vimeo 10.7.1 by Vimeo.com, Inc.


UPDATE SC IDOL: TWO BECOME ONE


KASAMBAHAY BILL IN THE HOUSE


Girasoles para colorear


Presence Quotes – Positive Quotes


EASY COME, EASY GO


Love with Heart Breaking Quotes


Re:Mutton Pies (lleechef)


Ka longiing longsem kaba skhem bad kaba khlain ka pynlong kein ia ka...


Vimeo 10.7.0 by Vimeo.com, Inc.


FORECLOSURE OF REAL ESTATE MORTGAGE


FORTUITOUS EVENT


Pokemon para colorear


Sapos para colorear


Smile Quotes


Letting Go Quotes


Love Song lyrics that marks your Heart


RE: Mutton Pies (frankie241)


Hato lada ym dei namar ka jingpyrshah jong U JJM Nichols Roy (Bah Joy) ngin...


Long Distance Relationship Tagalog Love Quotes