3 ms·
Such a tiring debate. This is what a function call looks like in PHP: myfunc($arg1,$arg2); What a mess, right? Functions can represent any subset of compu
by datashovel 10y ago
Such a tiring debate.
This is what a function call looks like in PHP:
myfunc($arg1,$arg2);
What a mess, right?
Functions can represent any subset of computation within a program, or in some cases a function can represent all of the computations of an entire program. If you're hung up on small nuances of a language, you're probably just not doing it right. That's not a bad thing. A lot of people find themselves in this position, but the bottom line is you're probably just not writing your programs with the correct lower level abstractions.
That's it. It's not magic, but it's not always easy either. You shouldn't feel bad about it. Just keep trying and one day you'll realize that very little of what makes a great programmer has anything to do with the language you're using.
NOTE: This isn't in response to the author. They appear to have a strong reputation within the PHP community. This is really just a general response to all of the PHP hate in this thread.