Skip to content

Isolating attribution and if condition#1941

Closed
cpsw wants to merge 1 commit into
cinder:masterfrom
cpsw:patch-1
Closed

Isolating attribution and if condition#1941
cpsw wants to merge 1 commit into
cinder:masterfrom
cpsw:patch-1

Conversation

@cpsw
Copy link
Copy Markdown

@cpsw cpsw commented Dec 9, 2017

I'm suggesting a code style change that I would use in my code. I heard some discussions about this issue, and I would like to suggest it to see if it is more a personal preference or whether it makes sense.

It is just to make explicit that an assignment expression has the value of the left operand after the assignment.

I'm suggesting a code style change that I would use in my code.
@MikeGitb
Copy link
Copy Markdown
Contributor

MikeGitb commented Dec 9, 2017

Not sure I understand your style argument, but doesn't this create an infinite loop?

@cpsw
Copy link
Copy Markdown
Author

cpsw commented Dec 9, 2017

I was trying to make the assignment explicit, but you are right, @MikeGitb. I'm sorry about that.

@cpsw cpsw closed this Dec 9, 2017
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.

2 participants