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

#4 Convetion proposal #5

Merged
merged 2 commits into from Nov 2, 2020
Merged

#4 Convetion proposal #5

merged 2 commits into from Nov 2, 2020

Conversation

jozefchmelar
Copy link
Contributor

According to #4 I propose some changes.

#  Member naming  & Type Naming

I don't see a benefit in using prefix. It doesn't help me in any way. 

## Member Variables

Class (FB) member variables should be hidden and begin with small name 
~~~Pascal
    VAR
        {attribute 'hide'}
        trigger : BOOL;
        {attribute 'hide'}
        counter : INT;
          {attribute 'hide'}
        analogStatus : AnalogStatus;
    END_VAR
~~~
@jozefchmelar jozefchmelar marked this pull request as ready for review October 30, 2020 10:31
@jozefchmelar jozefchmelar mentioned this pull request Oct 30, 2020
4 tasks
@jozefchmelar
Copy link
Contributor Author

Member naming & Type Naming

I don't see a benefit in using prefix. It doesn't help me in any way.

Member Variables

Class (FB) member variables should be hidden and begin with small name

    VAR
        {attribute 'hide'}
        trigger : BOOL;
        {attribute 'hide'}
        counter : INT;
          {attribute 'hide'}
        analogStatus : AnalogStatus;
    END_VAR

@PTKu PTKu merged commit 0d50c86 into TcOpenGroup:dev Nov 2, 2020
PTKu added a commit that referenced this pull request Apr 29, 2021
Updates from tcopengroup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants