DEV Community

Discussion on: Functional Programming vs OOPS : Explain Like I'm Five

Collapse
 
avalander profile image
Avalander • Edited

Yeah, you're right. I wondered how to include immutability, but I figured discarding the first paper would confuse a 5yo more than anything. Maybe they would just accept that one can not modify the paper once it's passed, though, I should not underestimate them.

Thread Thread
 
mfekadu profile image
Michael Fekadu

Perhaps the writing fills the entire piece of paper, thus there’s no room to write anymore, which might necessitate either
1) re-writing on a new piece of paper or
2) taping/concatenating that paper with a new piece of paper that says “are cool”?

This analogy of taping may still be non-ideal.