This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 16618 - Use "-" instead of "−"
Summary: Use "-" instead of "−"
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Cameron McCormack
QA Contact: public-webapps-bugzilla
Depends on:
Reported: 2012-04-03 17:53 UTC by Marcos Caceres
Modified: 2012-04-08 23:38 UTC (History)
4 users (show)

See Also:


Description Marcos Caceres 2012-04-03 17:53:47 UTC
Hi Cam, 
Can you please use 'HYPHEN-MINUS' (U+002D) instead of  'MINUS SIGN' (U+2212) in the spec. It's a bit annoying when copying/pasting from the spec into code,  that I then need to hunt down the "−" characters that keep breaking my code :(  

Yes, "MINUS SIGN" is probably more "correct"... but practically speaking, it's annoying to keep having to remembering to replace them.
Comment 1 Anne 2012-04-03 17:56:07 UTC
I think all specs use −. Just deal.
Comment 2 Ian 'Hixie' Hickson 2012-04-03 17:59:00 UTC
Why do you need to copy and paste "-1"?
Comment 3 Marcos Caceres 2012-04-03 18:14:22 UTC
@hixie, There are 353 occurrences of "-" (though not all apply in my case) ... not just "-1", smart ass :)  

@anne, grumble....
Comment 4 Cameron McCormack 2012-04-08 23:38:02 UTC
Sorry, I haven't written the algorithms with the ability to copy and paste them directly as code in mind, and I don't think there is much that can be currently.  The minus signs look nicer, too.