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

Yes an object is better than nothing, but is awkward syntax compared to proper named parameters and I don’t see it being used very often. In Postgres I find named paremeters far more convenient than positional paremters for calling functions, also conveys intention much better, also great for defaults (you can use default=null to get around ordering retstriction Postgres has).


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

Search: