Hacker News new | ask | show | jobs
by Orangeair 3280 days ago
Like everyone else here, I don't think this is a very good example. Even if it were, other languages can do a better job of accomplishing the same goal. For example in Python:

    def circumference(r: float, *args, pi=3.14) -> float:
        return 2 * pi * r