Replies: 4 comments
|
Would a simple solution be to declare the static Clo field with an initializer that creates, essentially, an empty object? By "empty" I mean an object where the options are set to default values. |
|
@RustanLeino
There is also a far worse problem that I forgot to mention is that the For example I have method in my program to print a Boogie program to a file. It has an option to control whether the structured, unstructured or both is emitted. This can only be controlled via the Global state is evil! |
|
@delcypher : I am revisiting this issue after a long time. In the above, you refer to a "Boogie API". What do you mean by that? |
|
The global static for tracking options has been eliminated. |
Uh oh!
There was an error while loading. Please reload this page.
I'm currently using Boogie as a library and there is an issue that makes it incredibly painful to use. The issue is lots of the code refers to CommandLineOptions.Clo which is the global command line object which causes lots of problems
I'd like to propose the following
All reactions