Keeping AdvancedRobot instance in static field
Fragment of a discussion from Talk:Robocode
← Thread:Talk:Robocode/Keeping AdvancedRobot instance in static field/reply (3)
Jump to navigation
Jump to search
← Thread:Talk:Robocode/Keeping AdvancedRobot instance in static field/reply (3)
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
Return to Thread:Talk:Robocode/Keeping AdvancedRobot instance in static field/reply (3).
because I’m simply making everything under a static variable, just like lazy singleton. The field itself is not static at all, but the field containing the field is static and has to be static. Diamond uses this style as well afak However the problem of static reference should happen to this style as well, since two approaches are fundamentally equivalent