W3C home > Mailing lists > Public > public-sysapps@w3.org > December 2013

Writing specs that use promises

From: Marcos Caceres <w3c@marcosc.com>
Date: Wed, 4 Dec 2013 07:17:32 +1000
To: Marcos Caceres <mcaceres@mozilla.com>
Cc: domenic@domenicdenicola.com
Message-ID: <8B767E8A8D7E43F686FE4A823DD8ABBE@marcosc.com>
(bcc spec-prod + public-sysapps … feel free to share with other WGs, of course)

Hi All,  
Just stumbled across this very helpful guide to “Writing Promise-Using Specifications” - it contains a wealth of examples and great little “shorthands” that make using promises in specs a breeze. It’s written by Domenic Denicola (cc'd), who edits the Promises spec that will be part of ECMAScript (Promises been removed from the DOM spec BTW, so update your references to point to [1] if you haven’t already):  

https://github.com/domenic/promises-unwrapping/blob/master/writing-specifications-with-promises.md  

If you are using Promises in your specs, then it’s obviously going to be your go-to guide! :) And if you are using Promises, then please do take the time to read the document, double check your spec is correct, and provide feedback (specially if you think the guide can be improved).  

Huge thanks to Domenic for putting together this much needed guidance to help the community!  

Happy spec’ing,
Marcos  

[1] The README.md is the spec, see: https://github.com/domenic/promises-unwrapping  

--  
Marcos Caceres
Received on Tuesday, 3 December 2013 21:18:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:36:18 UTC