On 22/06/16 22:21, Rowan Collins wrote:
> But we haven't ever decided what that road is, so how can we know what
> the next step is? What if we realise that the way we've implemented
> typed properties is completely at odds with the way we want to implement
> typed locals?
Why should a 'var' insid
Hi!
> I haven't been following this thread, just jumping in to comment on this
> point. My suggestion to deprecate rand() was motivated by the fact that
> rand() produces extremely low quality random numbers on Windows, while at
Why not fix it then?
> the same time having the name people are mos
On 22/06/2016 20:06, Rasmus Schultz wrote:
With Dart, you have a choice - you can actually toggle whether or no
type-checks should be performed at run-time. It's probably the best of
those two references, if you're looking for inspiration for PHP.
Ooh, that sounds interesting, I'll have to read
On Wed, Jun 22, 2016 at 7:46 PM, Fleshgrinder wrote:
> On 6/21/2016 11:40 PM, Rowan Collins wrote:
> > Hi,
> >
> > I already wrote this message once, but it seems to have evaporated into
> > the ether. So apologies if it reappears and this is revealed as a poor
> > duplicate of it!
> >
> > I thin
On 22 June 2016 at 18:46, Fleshgrinder wrote:
>
> Maybe we could do some name brain storming?
I would strongly recommend instead of that, sending fewer emails to
this list, with each email containing well thought through ideas.
Throwing out random ideas into this mailing list does not seem to le
On Wed, Jun 22, 2016 at 7:44 PM, Rowan Collins wrote:
>
> Out of curiosity, do these languages perform the type analysis at
> compilation, or at run-time? I'm trying to collate some examples of how
> other languages have approached the problem.
In Typescript, the type-hints are evaluated at compi
On 6/21/2016 11:40 PM, Rowan Collins wrote:
> Hi,
>
> I already wrote this message once, but it seems to have evaporated into
> the ether. So apologies if it reappears and this is revealed as a poor
> duplicate of it!
>
> I think the push to remove "cruft" would make more sense if the
> replaceme
On 22/06/2016 16:58, Rasmus Schultz wrote:
On Wed, Jun 22, 2016 at 11:59 AM, Lester Caine wrote:
Having worked in other gradually-typed languages like Dart and
Typescript
Out of curiosity, do these languages perform the type analysis at
compilation, or at run-time? I'm trying to collate some
2016-06-22 18:49 GMT+02:00 Larry Garfield :
> On 06/22/2016 10:58 AM, Rasmus Schultz wrote:
>
>> The learning curve for new users isn't increased by the introduction
>> of property type-hints, it's *decreased*
>>
>
> I want to put that line on a plaque. It applies for a lot of features
> being of
On 06/22/2016 10:58 AM, Rasmus Schultz wrote:
The learning curve for new users isn't increased by the introduction
of property type-hints, it's *decreased*
I want to put that line on a plaque. It applies for a lot of features
being offered for PHP: They do actually make the language easier, n
On 22.06.2016 at 17:58, Rasmus Schultz wrote:
> Give them a consistent language and new developers will rise to the
> occasion - I'm sure of it. You're just not giving them a chance.
> Type-hinted properties are a step towards fixing that situation - they
> don't add, they *remove* complexity and
Hi Tom,
I'm building a startup (my fourth) and I chose PHP and Laravel to make it work.
Use the right tool for the job and what not.
I think that you have been trolled (YHBT), you've lost by feeding the troll
(YHL).
Have a nice day (HAND).
Also VIM is better than emacs, carry on with that if
Results for project PHP master, build date 2016-06-22 06:29:22+03:00
commit: 5cf9e01
previous commit:8953308
revision date: 2016-06-22 03:09:18+02:00
environment:Haswell-EP
cpu:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 2x18 cores,
stepping 2, LLC 45 MB
On 6/21/16 3:29 PM, Fleshgrinder wrote:
My favorite:
The PHP approach seems to be that any crazy behavior is acceptable as
long as it's documented.
People love raggin' on PHP.
It's a virulent meme. It propagates so well in our coder culture because
it's easy, it's just provocative enough t
On Wed, Jun 22, 2016 at 11:59 AM, Lester Caine wrote:
>
> If all these other languages are so much better why is the usage of PHP
> *SO* much greater than any of them with no sign of any of them gaining
> traction?
I'm sorry, but that kind of rhetoric is really unproductive.
At no point did anyo
On 6/21/16 3:23 PM, Lester Caine wrote:
Can someone explain why I should need 'crypto safe' random numbers when
ALL *I* use rand for is to give a random order to content items on the
page.
I cannot.
Something more in sync with the shuffle and array_rand without the
need to recode to actuall
On 22/06/2016 10:37, Michał Brzuchalski wrote:
I may don't have voting privileges but as an 10yr PHP development
practitioner I can't believe that such big and awesome feature like Typed
Properties minimally can't have enought votes to be a part of PHP language
(26/(26+16) = 62% and that's not en
get_class() returned some decorated name.
anyway, fixing backtrace is already good.
Thanks. Dmitry.
From: Nikita Popov
Sent: Wednesday, June 22, 2016 4:30:26 PM
To: Dmitry Stogov
Cc: Nikita Popov; Oz Gilat; PHP internals
Subject: Re: Fixing backtraces with
On 6/21/16 2:32 PM, Stanislav Malyshev wrote:
What is for you "obviously faulty stuff" for literally thousands of
people is "code that works". I appreciate that there's a number of new
hip randomness tests that mt_rand may not satisfy
As far as I can tell
https://gist.github.com/tom--/a121750
On Wed, Jun 22, 2016 at 3:14 PM, Dmitry Stogov wrote:
> Hi Nikita,
>
>
> When we developed php 7.0, we replaced most calls to get_class_name() by
> simple obj->ce->name reading.
>
> However, this functionality was used by some 3-rd part extensions (e.g.
> Zend JavaBridge and may be pecl/perl).
>
On 6/21/16, 1:43 PM, "Fleshgrinder" wrote:
>Yes, let's ask the users! But we don't do that, we just discuss it here.
>Howe could we create such a poll that reaches many people? Maybe Reddit?
Perhaps you misunderstand what I intended by leaving the choice to users.
If we add a new RNG and keep th
Hi Nikita,
When we developed php 7.0, we replaced most calls to get_class_name() by simple
obj->ce->name reading.
However, this functionality was used by some 3-rd part extensions (e.g. Zend
JavaBridge and may be pecl/perl).
These extensions create proxy classes and control remote objects thr
Hi,
According to my knowledge this path doesn't implement only string and int
types but whole of type hinting.
So your example usage of string and int maybe is unneded 'additional'
check, but in other cases where you expect objects which implements
specific inteface or class it's huge advantage wh
Top-posting due to mobile conn.
I voted no due to flaws introduced in the language by the current RFC.
The performance impact is irrelevant.
On Jun 22, 2016 11:38, "Michał Brzuchalski" wrote:
> Hi,
>
> I may don't have voting privileges but as an 10yr PHP development
> practitioner I can't beli
On 22/06/16 11:25, Michał Brzuchalski wrote:
> Nobody will pursuade me not that type safety is nothing significant in
> programming language.
'type safety' is perhaps the problem here. In a compiled language you
are only ever passing a binary value for which the 'type' is a critical
element, but m
Hi,
I agree with you, but this patch does not result in any increase in
complexity - there still will be a way to declare non typed properties and
most of those developers wouldn't even fell any impact complexity on
development stage.
My goal is not to judge which language is better but to visuali
On 22/06/16 10:37, Michał Brzuchalski wrote:
> Without it, PHP will newer be aqualed such as Java, C# even Hack language -
> there still will continue to be a big gap, due to the lack of type hinting.
> Sure you could say start to code in Hack it has type safier system, it has
> generics, annotatio
Hi,
I may don't have voting privileges but as an 10yr PHP development
practitioner I can't believe that such big and awesome feature like Typed
Properties minimally can't have enought votes to be a part of PHP language
(26/(26+16) = 62% and that's not enoght to 2/3+1vote).
There are plenty of plac
Ok, thank you!
Not sure if it the best solution, but it will work.
So,
6) make possible to work with file pointer and stream URL in $filename
option.
positive:
- no code duplicates
- no BC brake
negative:
- misleading in property name: getFileName method, $name property etc.
--
With regards, A
29 matches
Mail list logo