Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
slurgfest
on July 4, 2012
|
parent
|
context
|
favorite
| on:
PHP is much better than what you think
I wouldn't pick on the example, but you've made me curious: how does it improve the speed of development to have array("a" => "green", "red", "blue") ?
rorrr
on July 4, 2012
[–]
This is just a side-effect of the fact that arrays in PHP are also hash-maps. That improves the speed of development, not your example.
halayli
on July 4, 2012
|
parent
[–]
And you think it's a good idea to have arrays be also hash maps?
rorrr
on July 5, 2012
|
root
|
parent
[–]
As long as you're aware of it.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: