[Edu-sig] continuing with ES6 / Python comparison, other chatter

Wes Turner wes.turner at gmail.com
Sat Nov 26 21:02:51 EST 2016


On Saturday, November 26, 2016, Wes Turner <wes.turner at gmail.com> wrote:

> These are probably good for comparison:
>
> - https://learnxinyminutes.com/docs/javascript/
> - https://learnxinyminutes.com/docs/python/
> - https://learnxinyminutes.com/docs/python3/
>

-
http://hg.toolness.com/python-for-js-programmers/raw-file/tip/PythonForJsProgrammers.html

- http://jfine.bitbucket.org/docs/js4py/gotcha-quiz.html

-
https://reddit.com/r/Python/comments/401wtc/python_for_javascript_programmers/


>
>
>
> ECMAScript / Javascript
>
> - https://en.wikipedia.org/wiki/ECMAScript
>
  - https://en.wikipedia.org/wiki/JavaScript
>   - ES6
>
> ES6 (ES2015 (ECMAScript 2015))
>
> - Standard: http://www.ecma-international.org/ecma-262/6.0/
>   - http://www.ecma-international.org/ecma-262/6.
> 0/#sec-additions-and-changes-that-introduce-incompatibilities-with-prior-
> editions
>
> - http://es6-features.org
> - https://github.com/lukehoban/es6features
>
> - https://kangax.github.io/compat-table/es6/
> - http://caniuse.com/#feat=es6-class
>
> - https://github.com/babel/babel-standalone
>
>
> On Saturday, November 26, 2016, kirby urner <kirby.urner at gmail.com
> <javascript:_e(%7B%7D,'cvml','kirby.urner at gmail.com');>> wrote:
>
>>
>> I just had shared "sushi train" (conveyor belt actually) with
>> a an IT chief with Everett School District, far north of here,
>> during which we discussed whether or not listservs (such
>> as edu-sig here) are on the decline across the board, having
>> been replaced with other social media by next generations
>> of Internet savvy.  Do we know that for sure?
>>
>> For my part, I'm sure it depends on the subculture.  I'm on
>> a very active listserv around csound, the music synth
>> language and engine, several posts a day. I'm sure sci.math
>> is as frantic as ever.
>>
>> nbviewer seems to time out quite a bit and I don't think it's
>> just me. Does the site get overloaded?
>>
>> I'm somewhat more likely than not to link directly to the
>> Github version i.e. the raw source, as here:
>>
>> https://github.com/4dsolutions/Python5/blob/master/
>> Comparing%20JavaScript%20with%20Python.ipynb
>>
>> Shortened: https://goo.gl/jUqIwA
>>
>> ...versus feeding the latter through nbviewer.  However
>> the latter does a more thorough job in many cases, so
>> I find it's worth it when it works.
>>
>> The above Notebook was just now lengthened with a
>> new comparison of ES6 and Python3 function calls.
>>
>> Question: will nbviewer accept a shortened URL as
>> input?
>>
>> Answer: no, but you're free to shorten the "nbviewer
>> + Github URL" combo naturally:  https://goo.gl/HtM0NR
>>
>> Did you know ES6 is the first edition of JavaScript
>> wherein what we Pythonistas call default named
>> parameters and sequence parameters were first
>> acquired?
>>
>> In the above Notebook I extend to another example
>> showing these features in both, comparing two recipe()
>> functions.
>>
>> One could say Python has two "rest parameters", one
>> for "positionals," the others for "named".
>>
>> Perhaps in Python "keyword parameter" is a little more
>> correct than "named parameter" as the latter implies
>> use of = (naming) to give a default value, whereas
>> as shown in the example, one may have unnamed
>> parameters to the right of a sequence parameter,
>> that as a consequence are only reachable with
>> named arguments.
>>
>> Les (the above IT chief), is very familiar with the
>> Chromebook scene around public schooling in the
>> state just north of Oregon. I'm likely to venture into
>> that space pretty soon, as a Portland-based trainer.
>>
>> This will be a day job so I'm hopeful I'll be continuing
>> with the evening gig as "radio show" broadcaster
>> (a zoom.us-based tele-class).
>>
>> Speaking of which, I've been dropping in on some
>> of Trey Hunners chat sessions after the fact (I've
>> yet to make it to a live showing).  I learned quite
>> a bit about duck typing in connection abc types
>> such as Sequence, thanks to this video:
>>
>> https://www.crowdcast.io/e/duck-typing
>> <http://treyhunner.us12.list-manage.com/track/click?u=cdbc9ae7bf54c3dff2773ea2d&id=377dc1d5ad&e=16760d8b0b>
>>
>> I'm guessing more people learn about such free
>> resources from Twitterverse than from listservs these
>> days, but I don't have hard data.
>>
>> I wonder if Python.org keeps any stats on gross
>> subscriber numbers, posting rates etc. within its
>> vast Mailman empire:
>>
>> https://mail.python.org/mailman/listinfo
>>
>> Kirby
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/edu-sig/attachments/20161126/b374a521/attachment.html>


More information about the Edu-sig mailing list