I found this comment within a solution to an exercise, which was meant to instruct on formulating an object invariant:
// invariant: we don't guarantee anything
I found this comment within a solution to an exercise, which was meant to instruct on formulating an object invariant:
// invariant: we don't guarantee anything
Master of time
February 12, 2010I think this comment is unintentionally very amusing:
/** * {@code MyTimer} manages time.<br> * <b>Collaborations:</b><br> * <i>none</i> */ public class MyTimer extends JLabel implements ActionListener { // ... }