Note that if we reverse the chaining (like java does), then theloop problem mostly disappear. It is still possible to create it,you you got to actively look for it.I knew Python has chaining but not Java. Got a reference handy? My searches suggest that in Java that's a manual technique only. -- Andrei
Yes there is no language magic to it in java. It is by convention.
