Re:How to write X in both Python 3 and JavaScript
by fabiomaia on Friday September 14, 2018 @10:53AM
(#17987586)
The value is in finding what is the most idiomatic way to do something in either language. For example if you're coming from Python and you're used to sum() it is useful to check this reference for the most idiomatic way to do it in JavaScript before doing it by hand with anonymous functions and reduce or looping through the list (as is the case unfortunately).
[ Parent
| on HN ]
Re:How to write X in both Python 3 and JavaScript
by LyndsySimon on Friday September 14, 2018 @11:35AM
(#17987987)
Agreed. The value isn’t in it being a tutorial, it’s in it being a quick overview of a language’s idioms as they apply to common tasks.