The Frameworks coding style prohibits using short variable names, unless
it's a counter in a loop.
Details
Details
- Reviewers
davidedmundson - Group Reviewers
KWin - Commits
- R108:0cacd9dc0a2a: [wayland] Fix some coding style issues in XdgShellClient
Diff Detail
Diff Detail
- Repository
- R108 KWin
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
That's a misquote of the spec. It says
Single character variable names can denote counters and temporary variables whose purpose is obvious
I think these counted as temporary things - but this isn't any worse either.
Comment Actions
Frameworks coding style is vague about temporary variables. One could argue that practically each variable in a method or a function is temporary. ;-)