|
|
|
|
|
by knappador
4100 days ago
|
|
Novice Java programmer reads title, mutates Java object inside function, later notices side-effects, and curses author of the title. Second novice Java programmer reads title, wants to pass objects into functions, wants to avoid expensive stack copy and writes &myObject, gets compiler error, Googles "Java pointer," and curses author of the title. Lesson learned: author of title is either unaware of the consequences such an interpretation will cause or seeks cursing as a source of attention. |
|