Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
snorkel
15y ago
0 comments
Save
Share
I prefer Javascript for example: JQuery's calling conventions would not be possible if function args were mandatory.
0 comments
3 comments · 2 top-level
top
newest
oldest
nawariata
15y ago
· 1 in thread
You can always use func_get_args() if you truly want it that way.
ryan-allen
15y ago
Or you could just use a real programming language that has some kind of design.
wvenable
15y ago
I'm curious as what PHP couldn't do? You have default argument values and you can pass more arguments to any function. Seems that covers all the cases.
j
/
k
navigate · click thread line to collapse