Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why not use explicit function parameters then?

    def count_orange_slices(number_of_oranges):
        return number_of_oranges * 8

    size_of_my_orange_stash = 10

    count_orange_slices(number_of_oranges=size_of_my_orange_stash)
    >> 80


Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: