Hacker News new | past | comments | ask | show | jobs | submit login

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.



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')




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: