Bob Myers (2018-07-26T04:15:57.000Z)
rtm at gol.com (2018-07-26T11:59:00.657Z)
> It allows you to reveal things, selectively, just as the revealing module pattern does. The revealing module pattern is so named precisely because it reveals (to clients) certain aspects of the "module" in question. Yes, it hides other aspects, but only by virtue of not revealing them. If you want to support the terminology of "revealing constructor pattern", could you please state *what* is being revealed, exactly, to *whom*? When I call a promise constructor I get back one thing and one thing only, which is a promise. Is the notion that it is the promise which is being revealed? In that sense, all APIs "reveal" their results. If is the intent of using this term that the content of the executor is being revealed to the coder when he views the code? All code is revealed when it is viewed. It would seem to me that to qualify for the name "revealing constructor pattern" it ought to be revealing something. > (separately, the measure of "caught on" is not "there does not exist someone who has not heard of it") This group is not a court of law with evidentiary rules. That someone with a degree of interest in JS to the extent they are a regular on the ML has never heard of it would seem to mean at least that it has not caught on *widely*. I myself had worked with and read about ES6 promises extensively before I heard the term. Perhaps in the future I can write things like "It might be argued by some that there is some possibility that the evidence could conceivably be interpreted as indicating that it may be the case that it has not caught on widely"? In any case, "catching on", however you define it, would seem to require more than a grand total of two Google results for "revealing constructor pattern", one of which is by the person that invented it. Bob