I am fairly new to UIPath and have a question about Project architecture.
In other languages and platforms, I scope variables at the lowest level I can and use global variables sparingly. However, not having global variables in UIPath is very annoying. There are some variables that might be used in many different modules, and I don’t want to pass them through a bunch of arguments. I have used the Getter Setter activity in order to do this.
My coworker, who has written many more projects than I have, thinks that the use case for global variables is much more limited than I think and I have gone overboard. He says that UIPath thinks using arguments is superior to global variables, as they will be overused. Maybe I am so used to using global variables that it is hard for me to see the benefit of doing it the UIWay.
I am very curious about the communities opinion.