- From: <bugzilla@jessica.w3.org>
- Date: Fri, 18 Apr 2014 08:10:04 +0000
- To: public-webcrypto@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25388
Bug ID: 25388
Summary: Boolean arguments
Product: Web Cryptography
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Web Cryptography API Document
Assignee: sleevi@google.com
Reporter: annevk@annevk.nl
CC: domenic@domenicdenicola.com, public-webcrypto@w3.org
Boolean arguments for methods are bad news. E.g. nobody ever remembers how
addEventListener's third or XMLHttpRequest.prototype.open's third argument
functions.
See http://c2.com/cgi/wiki?CodeSmellMetrics
It seems most of these methods could be designed to take a dictionary of sorts
instead so the argument can be named and understood.
--
You are receiving this mail because:
You are on the CC list for the bug.
Received on Friday, 18 April 2014 08:10:06 UTC