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

> ... and there are only eight argument names. Which seems... limiting.

I would be fine with a programming language that limited functions to 8 arguments. Not because I never have a use for more, but it's a cost I'd be willing to pay in return for my colleagues never needing more.

Pylint and ruff [0] have a check for this that is set to warn over 5 arguments, but I don't think this is enabled by default and I haven't worked anywhere where this would cause the build to fail.

[0] https://docs.astral.sh/ruff/rules/too-many-arguments/





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

Search: