|
|
|
|
|
by thombat
1938 days ago
|
|
I ran into some value setters which simply logged their parameters but did not store them. Hah! obviously GPT2, not understanding that a setter should, well, set. Wrong, of course. Now maybe the human concerned was far down some inheritance tree and simply wanted to document misuse of a deliberately limited class but assert()ing would have been too punitive. Or may it was indeed "right form but no substance", but authored by an SWE. |
|
I did manage to get 100% correct after a while but it takes a thorough reading of the code.