3 ms·
Also, if the specification is too formal, no one besides academics would understand it and thus it would pretty useless as practical documentation.
by userbinator 8y ago
Also, if the specification is too formal, no one besides academics would understand it and thus it would pretty useless as practical documentation.
- pcwalton 8y agoRight. Also, sometimes you want to leave things undefined. This killed the attempt to create a formal specification for ECMAScript 4 back in the day. For example, it was hard to formally specify things like "Array.sort calls the sorting order callback in such a way as to make the array sorted" without mandating a particular sorting algorithm.
- sanxiyn 8y agoMaybe formal specification could have been done for the language but not for the standard library. Note that formal specification of ECMAScript 5 does exist (JSCert), although it is not de jure and it does not handle the standard library.
- StillBored 8y agoWhich is why there is a 7000+ page ARM ARM https://static.docs.arm.com/ddi0487/da/DDI0487D_a_armv8_arm.pdf https://static.docs.arm.com/ddi0487/da/DDI0487D_a_armv8_arm.... which is mostly written in plain English for the common programmer, but frequently suffers due to lack of specificity or general clarity.