top | item 43648042 (no title) foobahify | 10 months ago The issue was solved by having a rich and Turing complete language. I am not huge on adding language features. This seems like userland stuff. discuss order hn newest actinium226|10 months ago I tend to agree. I think it's easy enough to use a lambda in this case >>> template = lambda name: f'Hello {name}' >>> template('Bob')
actinium226|10 months ago I tend to agree. I think it's easy enough to use a lambda in this case >>> template = lambda name: f'Hello {name}' >>> template('Bob')
actinium226|10 months ago