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

I find C# to be better, but things are ok everywhere as long as they're kept easy. I think that function (param?: Array) is simply better than function (param) because the IDE can hint you that the function accepts a single parameter, that it is optional and warns you if you try to pass a string because it must be an Array.


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

Search: