These 3 tasks were a lot easier than some of the previous ones. I'd like to think I'm getting smarter, but I think these just clicked a little easier.
KEEP PUSHING CODEGYM FRIENDS!! WE'RE GONNA MAKE IT!
About "How to avoid Copy+Paste " : I think the commented "// Add some logic here" in the SuperDog class is misleading. It implies that you have to change something in this method which isn't the case.
Tip for how to Avoid Copy-Paste
The example output asks for this (note the lack of a space at the first ***:
*** Barbossa *** says ruuuuuff! Wed, 13-Nov-2013
What you have to do is include the silly space at the start of the first " *** " like this...
*** Barbossa *** says ruuuuuff! Wed, 13-Nov-2013
Very, very annoying to waste time on such trivial matters!
Well, I've used getSuperQuotes() but those stupid spaces got me anyway. Notice that there are two spaces between "***" and "says" or "is sleeping." Really annoying. Though thanks to your tips at least I knew where to look for the mistakes. Cheers!
Hint for "Online store for jeans": The format of the price ("150.0") is not verified in the task. I lost a lot of time trying to convert my result ("150,000000") to 150.0 and turns out it's not necessary for validation. This was my output and task was completed:
GO TO FULL VERSION