Proposal: .= operator #4763
-
I once had a problem doing this for a long variable:
So I had an idea, that this could be better.
This could make for smaller code files in bigger projects that need much string manipulation. This is probably not worth the effort, but I had the idea and thought I'd share it here. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
This syntax has little value as it just saves a few characters vs saves from a mistake and instead it potentially can cause errors as the only thing that distinguishes static call vs instance call is that small dot before the equals sign. Which is contra intuitive. I don't believe pressing ctrl-c ctrl-v requires any kind of special syntax. |
Beta Was this translation helpful? Give feedback.
-
Duplicate of #4245 |
Beta Was this translation helpful? Give feedback.
Duplicate of #4245