Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
RobAley
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
60 ms
·
601.
▲
by
RobAley
14y ago
I actually think that PHPs syntax is good (in the main), it seems to fit with the way my thought process works and I'm incredibly efficient with it. It's different from many other languages syntax, it's verbose in places and not as "intelle
602.
▲
by
RobAley
14y ago
No, the Queen parachuting was definitely real. Its because she eats McDonalds and drinks Coca-cola that she has the physical prowess to pull off such a stunt. I know, I'm British and have been paying attention to the carefully crafted messa
603.
▲
by
RobAley
14y ago
I think that it's actually one of the benefits of the PHP development process, and one of the reasons for PHPs popularity. The focus on syntax is actually a focus on it's users, the programmers (or at least the subset of programmers that PH
604.
▲
by
RobAley
14y ago
I think the issue is that metaphors work best when they are about real situations. The idea of a metaphor (usually) is to help a person understand one situation by mapping their knowledge of another, more familiar, situation to the first. N
605.
▲
by
RobAley
14y ago
The trouble with that approach is that while algoritms aren't great in this area (at the moment), they are at least trustworthy (in that they'll do what you tell them). People on the otherhand are often untrustworthy, and their definition o
606.
▲
by
RobAley
14y ago
You absolutely should. But it doesn't look like this IS the alternative (at least the viable one). That said, no one appears to have any other firm ideas about what the viable alternative should look like (only what it shouldn't). And as it
607.
▲
by
RobAley
14y ago
For some, it's his views on homaphobia[1], and his views on race[2]. For others, it's his lack of actually doing anything useful recently. [1] http://news.ycombinator.com/item?id=4157324 [2] http://news.ycombinator.com/item?id=3826846 T
608.
▲
by
RobAley
14y ago
If there is one thing that you do need to do, its turn off the support forum. Its full to the brim with spam, and is (probably) the only part of the site that actually does need continuous attention. Otherwise, congrats!
609.
▲
by
RobAley
14y ago
As far as I am aware, it is under consideration for Zend Engine 3 / PHP6. But certainly not for 5.5, and probably not in the 5.x series at all. Though how many 5.x releases are left is anyone’s guess, personally my crystal ball tells me we
610.
▲
by
RobAley
14y ago
I agree with you on using keyword arguments, it makes it more obvious (and where there are many optional parameters, may save some typing!). With regards to the array_column function, PHP has a history of providing such functions for common
611.
▲
by
RobAley
14y ago
I'd prefer them both to be one way or the other, but if they have to be different this is the right way to do it. For instance, functions can check to see what name the were called by (and process the call differently if we want to distingu
612.
▲
by
RobAley
14y ago
I'm assuming the original reason is lost in the mists of time, but one advantage it has when calling/using external/3rd party code is in style conventions. If in my code my convention is to use functionNames but in yours you use functioname
613.
▲
by
RobAley
14y ago
He started with a highly contentious premise that he declared as fact. Many, like me, disagree with that premise, and so consider that he is at best trying to fix a problem that either doesn't exist or doesn't require a drastic fix like he
614.
▲
by
RobAley
14y ago
To be honest I've not used jruby. It would be interesting to see how it compares to implementations PHP on the JVM such as IBM's WebSphere sMash, and Caucho's Quercus. Do you have any views on the performance of jruby vs hiphop'd PHP?
615.
▲
by
RobAley
14y ago
The reason I cited Rails is that its usually proposed as the better alternative in these anti-PHP threads. Most "high" performance PHP doesn't use one of the usual-suspects in the framework world and can easily beat Rails (and usually plain
616.
▲
by
RobAley
14y ago
Speed isn't an issue, at least in my experience, compared to similar languages. Raw PHP usually beats Rails handsdown, and most PHP frameworks are usually comparable. PHP performance has increased markedly over the past few years, and parti
617.
▲
by
RobAley
14y ago
Possibly, but its possible that if another language had been chosen, it may still be languishing as some half-finished forgotten project somewhere and those engineers would never have gotten their jobs! Who knows...
618.
▲
by
RobAley
14y ago
I use PHP and I care about development. Your statement appears to be hyperbolic.
619.
▲
by
RobAley
14y ago
I use PHP because I love it. I wouldn't consider myself a "drone", I'd like to think I form views on the basis of my own investigation and relatively impartial evidence. And it's not that I haven't spent the time learning other languages an
620.
▲
by
RobAley
14y ago
Wider issues in society always affect what we do in our work lives, for a number of reasons. Very few of us work purely in the technology industry. That is, our customers or market are not technical in nature, technology is usually used in
621.
▲
by
RobAley
14y ago
See [1] for his views on homaphobia, and [2] for his views on race. [1] http://news.ycombinator.com/item?id=4157324 [2] http://news.ycombinator.com/item?id=3826846 Edit: The link in [2] is dead, it previously linked to http://esr.ibibl
622.
▲
by
RobAley
14y ago
Here in the UK, it was something that I didn't have to worry about. Which was a good thing. Shortly after I had committed to my start-up my wife became pregnant, with twins, and ended up with a reasonably lengthy stay in hospital due to com
623.
▲
by
RobAley
14y ago
Apple and smartphone manufacturers started the locked down hardware trend, Microsoft are riding their coat tails to achieve what they've wanted all along. To be fair, these standards aren't controlled by Microsoft, but they've thrown their
624.
▲
by
RobAley
14y ago
From the bug thread that this story refers to, Rasmus states "Most of PHP was using this already, but there were still some stragglers like number_format()". I think my arguments regarding impact of the change are a reasonable extrapolation
625.
▲
by
RobAley
14y ago
I did indeed mean weakly typed (PHP is both dynamically and weakly typed). Haven't had my coffee yet this morning.
626.
▲
by
RobAley
14y ago
With regards to consistency, aside from the fact that I don't think its easy or necessary to compare how functions deal with arguments to how syntax operators etc. deal with values, the situation prior to this change was that there was no c
627.
▲
by
RobAley
14y ago
PHP is a dynamically typed language, so although it expects a number, it will accept a string as it will try and parse that string into a number (e.g. you could pass it the string "2.23232" and it will work in the same way as if you pass
628.
▲
by
RobAley
14y ago
A lot of the time, it's developers who don't use PHP who complain its not standardised, and developers who do use PHP who complain when it does change! To be contrary, I'm a PHP developer who likes the on-going standardisation, but didn't
629.
▲
by
RobAley
14y ago
As you note, one of the problems most cited with PHP is core language functions behaving in a non-coherent/non-consistent manor. This change was in-fact to bring this particular function in line with most of the others, i.e. to make it beha
630.
▲
by
RobAley
14y ago
For some real-world(ish) benchmarks, see : http://news.php.net/php.internals/57760 Memory usage is the big winner, e.g. a 50% improvement for Drupal, with performance in terms of requests per second being lower (e.g. 7% for Drupal) but st
More ›