
Oct. 25, 2021
6:27 p.m.
On 10/25/21 6:54 AM, Eric V. Smith wrote:
On 10/25/2021 8:26 AM, Chris Angelico wrote:
If it's done with syntax, it can have special behaviour. If it looks like a function call (or class constructor), it doesn't look like it has special behaviour.
This has been mentioned before, but I'll say it again: It doesn't need to be syntax in the sense of non-ascii characters, it could be a (soft) keyword:
def process_files(processor, files=deferred os.listdir(DEFAULT_DIR)):
I agree. My two favorite bike-shed colors are - `deferred` soft keyword - @ in the front Both options make it much clearer that something special is happening, whilst all of the in-the-middle options can be easily missed. -- ~Ethan~