Giter Site home page Giter Site logo

Comments (3)

SBoudrias avatar SBoudrias commented on June 11, 2024

Hey, thanks for the question.

Most productive in, definitely JavaScript. But that's mainly because I know it well and I've been mainly working on the frontend side for the last year or so. As for a favorite feature, that's a bit more tricky... Maybe simply anonymous function? Handling functions as value is super powerful, so that's good syntactic sugar compared to how you'd implement similar behavior in Python for example.

But favorite feature of all time is probably Python context manager (with statement). This feature is awesome and so so so useful. I do wish JS would implement something similar.

from ama.

CarlMungazi avatar CarlMungazi commented on June 11, 2024

Thank you for your response @SBoudrias. As a follow up question, if you don't mind me asking, how has your use of JS influenced the way you think about Python, and vice versa? I guess, for starters, your knowledge of Python has you wishing JS would implement a similar with feature!

from ama.

SBoudrias avatar SBoudrias commented on June 11, 2024

Python immutable data structures like namedtuples probably influence a lot of my take on JS dynamic typing. Immutable data and enforced data structure goes a long way with dynamic typing shortcoming. I think we'll see a lot of strict typing in the near future leveraging ES6 proxies.

But overall, I think python and JS are extremely similar languages with a lot of influence on each other. (es7 decorators, es6 array deconstructions - and on the other way, python future objects and callbacks)

from ama.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.