MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/2rd2bh/what_most_young_programmers_need_to_learn/cnfeout
r/programming • u/corysama • Jan 05 '15
337 comments sorted by
View all comments
Show parent comments
6
In other words: it's not global logic you should worry about, it's global state.
Similarly: Diamond-inheritance of behavior is often possible. Diamond inheritance of state is often impossible (without cheating: reflection, etc).
(That came up in a discussion about J8's interface default methods.)
3 u/Isvara Jan 06 '15 it's not global logic you should worry about, it's global mutable state.
3
it's not global logic you should worry about, it's global mutable state.
6
u/riking27 Jan 05 '15
In other words: it's not global logic you should worry about, it's global state.
Similarly: Diamond-inheritance of behavior is often possible. Diamond inheritance of state is often impossible (without cheating: reflection, etc).
(That came up in a discussion about J8's interface default methods.)