[Issue 5900] std.math.radians(), std.math.degrees()

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 27 16:37:29 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5900


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla at digitalmars.com
         Resolution|                            |WONTFIX


--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> 2011-04-27 16:33:44 PDT ---
No, please no.

1. Phobos should not be filled up with trivia.

2. Multiplying by a constant is trivia.

3. Documenting and adding unit tests for trivia is a waste of our very limited
resources.

4. Any numerics programmer who cannot figure out what constant to multiply with
to convert degrees <=> radians has no business using trig functions.

5. Python being bloated with trivia does not mean Phobos should be.

6. Degrees and radians are not distinct types, leading to potentially ugly bugs
if one writes code that mixes the two up.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list