Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
snorkel
on May 27, 2011
|
parent
|
context
|
favorite
| on:
These are things in PHP which make me sad
I prefer Javascript for example: JQuery's calling conventions would not be possible if function args were mandatory.
wvenable
on May 28, 2011
|
next
[–]
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.
nawariata
on May 27, 2011
|
prev
[–]
You can always use func_get_args() if you truly want it that way.
ryan-allen
on May 28, 2011
|
parent
[–]
Or you could just use a real programming language that has some kind of design.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: