Skip to content
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

Rename BasicCondition to Condition #663

Merged
merged 1 commit into from
Jul 24, 2020
Merged

Conversation

mvorisek
Copy link
Member

@mvorisek mvorisek commented Jul 23, 2020

What is difference between CompoundCondition and Scope? Currently, Scope is topmost "scope". Everything else is "condition", but one is basic, onother is compound, ...

To simplify the terminology and reduce the number of terms, I propose to:

a) keep CompoundCondition more like an implementation detail and call collection of conditions a Scope. If it is part of Scope, we can call it $subscope or with specific name like $customerScope.

b) rename BasicCondition to Condition. Then if we speak about condition, we speak about the basic/simple one. Like in a real world, condition is undivisible

@mvorisek mvorisek changed the title Scope improve usability Scope improve usability - terminology Jul 23, 2020
@mvorisek mvorisek force-pushed the scope_improve_usability branch from 640a198 to 64db209 Compare July 23, 2020 22:07
@mvorisek mvorisek force-pushed the scope_improve_usability branch from 64db209 to 8edad00 Compare July 24, 2020 08:12
@mvorisek mvorisek changed the title Scope improve usability - terminology Rename BasicCondition to Condition Jul 24, 2020
Copy link
Collaborator

@georgehristov georgehristov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@georgehristov georgehristov merged commit 96dfac0 into develop Jul 24, 2020
@georgehristov georgehristov deleted the scope_improve_usability branch July 24, 2020 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants