-
Notifications
You must be signed in to change notification settings - Fork 92
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
Increase the usage of augmented assignment statements #266
Comments
It looks better! 👍 |
I propose to reconsider and improve also special string concatenations which can be found with the help of a search pattern like the following.
Example: if SysMgr.lineLength > nowLen + len(nextCall):
- userCall = '%s%s' % (userCall, nextCall)
+ userCall += nextCall
nowLen += len(nextCall) Would you like to adjust any more questionable data processing details? 🤔 |
I agree with you! |
Would you like to use any development tools which can help a bit more to perform mass source code transformations? 🤔 |
Yes, I would like to use those tools if I can use them. |
|
Thanks for another source code improvement. I guess that there are more remaining update candidates to consider according to the discussed transformation pattern. Additional change suggestion: else:
- userCall = '%s\n%s %s' % \
- (userCall, ' ' * indentLen, nextCall)
+ userCall += '\n%s %s' % (' ' * indentLen, nextCall)
nowLen = indentLen + len(nextCall) Would you find development tools (like the following) helpful? |
Would you like to integrate anything from a source code transformation result which can be generated by a command like the following?
|
I checked this result :)
|
💭 Would you like to integrate anything from a source code transformation result which can be generated also by a command like the following?
|
How do you think about to share insights for the evolution of run time characteristics (eventually also for a software component like “Sly Lex Yacc”) together with adjustments for discussed implementation details? 🤔 |
💭 Do any factors hinder the wider application of functionality which became generally available with Python 2? |
I also like the augmented assignment expression :) |
I suggest to use an augmented assignment statement also at the following place in the function “getData” of the script “guider.py”.
The text was updated successfully, but these errors were encountered: