Q. how do you change a lightbulb in oo programming?
a. you don't. instead, you tell the lamp to do it.
q. how do you change a lightbulb in functional programming?
a. you can't, at least not in pure functional programming.
q. how do you change a lightbulb in logical programming?
a. you imply that it is changed.
q. how do you change a lightbulb in concurrent programming?
a. you take the lamp to a secure area so nobody else can try to change the lightbulb while you're changing it. alternatively, you might get a lamp with lightbulbs that can't be changed, and just get a new lamp when the lightbulb goes out.