DEV Community

Discussion on: Programs to Compute Trig Functions in Python, JavaScript, & Perl (with Maclaurin Series)

Collapse
 
mjgardner profile image
Mark Gardner

You could do better by using the reduce functions available in each language: Python, JavaScript, Perl