Re: Question about adding !function_identifier

From: Date: Wed, 03 Apr 2019 17:00:46 +0000
Subject: Re: Question about adding !function_identifier
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-105055@lists.php.net to get a copy of this message
> Le 3 avr. 2019 à 18:52, M. W. Moe <mo.mu.wss@gmail.com> a écrit : > > Hello, > > not documenting at first is not really a question of laziness or so, as > things are still moving around > you absolutely need this agility; a good design layout between theory and > stable state will refactored > discussed a thousand times; that what I expect from engineers; filling the > gaps between assumptions > and reality. > > And for me-self throw vs no throw is important language information and > part of internal behaviors; > to clarify, for instance, would be more useful to have such indicator > rather than having having > abstract and interface which are cumbersome; same as the extra public > keyword; you can do without > especially with the new traits construct. > > Best. If you’re unwilling to write a docblock for some good reason, why not just use the built-in, user-extensible way that most programming languages have to add annotations without runtime effect, namely unstructured comments? Something like /* nothrow */ is both forward- and backward-compatible... Am I missing something? —Claude

« previous php.internals (#105055) next »