-
Notifications
You must be signed in to change notification settings - Fork 10.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support "recursive" calls in MapMaker computingMap (ComputingCurrentHashMap) #369
Comments
Original comment posted by kevinb@google.com on 2010-07-30 at 03:56 AM (No comment entered for this change.) Labels: - |
Original comment posted by yrfselrahc on 2011-01-26 at 07:21 PM I can't conceive of a use case where this would be the proper architecture. Assuming that MapMaker allowed recursive computation, how do you prevent infinite recursion? Status: |
Original comment posted by yrfselrahc on 2011-01-26 at 07:28 PM On second thought, even though the value of recursive computation is not obvious to me, it couldn't hurt to fail fast. Status: |
Original comment posted by ian.b.robertson on 2011-01-27 at 12:40 AM One (actual live) use case is using MapMaker to create a map from class to instance implementing the class (think service lookup). Instances may require other instances during initialization, which would require going back to the MapMaker. If, due to developer error, there is a circular dependency, it would be preferable to have an exception thrown with sufficient diagnostic information allow the developer to fix the root cause. |
Original comment posted by jim.andreou on 2011-01-27 at 02:37 AM
|
Original comment posted by kevinb@google.com on 2011-01-27 at 02:08 PM (No comment entered for this change.) Labels: - |
Original comment posted by fry@google.com on 2011-04-08 at 01:17 AM (No comment entered for this change.) Status: |
Original issue created by harman.peter on 2010-06-14 at 08:25 PM
What steps will reproduce the problem?
What is the expected output?
What do you see instead?
What version of the product are you using? On what operating system?
v5
Please provide any additional information below.
The text was updated successfully, but these errors were encountered: