3 ms·
I was taking a beginner Java class (had to use up that GI Bill), and the final assignment was to make a simple "gas pump" program that tallied up the total pric
by jarin 12y ago
I was taking a beginner Java class (had to use up that GI Bill), and the final assignment was to make a simple "gas pump" program that tallied up the total price and printed a receipt.
I wrote up a pretty simple implementation and realized I had 50 minutes left to sit around, so I started refactoring it into classes and writing unit tests. I was pretty happy with the result, but I turned in both versions just in case I would get docked for not following the instructions exactly.
Got a B. Other people in the class who did a straight imperative style got As.
This is what computer science instruction is like at a for-profit college.