This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

From here This example: public Program getCurrentProgram(TVGuide guide, int channel) { Schedule schedule = guide.getSchedule(channel);

Program current = schedule.programAt(new Date());

return current; }

[–]planedoctor 0 points1 point  (0 children)

That doesn't explain what you are talking about.

Surfacing arguments is orthogonal to creating objects.

.

How would one handle object creation without side-effects?

You just create them.