inspiration, news, python, stackoverflow

If you could change something in Python what would it be?

Hi there guys. Recently I posted a question on Reddit. The question was that if you could change something in Python what would it be? I got some really interesting answers from other programmers. Here are some of the top answers till now.

  1. Make building a stand alone executable part of the spec. The two main projects that do it are hacks
  2. the namespaces in the datetime module. its really annoying to have to remember if I used
    import datetime
    

    vs.

    from datetime import datetime
  3. optional static typing. as in i would add the ability to statically type things in python, but not make it mandatory.
  4. “slef” should be a universal alias for self
  5. Get rid of the GIL
  6. A good, consistent, Pythonic, cross-platform, batteries-included graphic library. Tkinter is the closest, but the execution loop makes it challenging to do advanced stuff, and the adherence to Tk makes it challenging for a beginner to do basic stuff.I appreciate it’s not easy to design and write such a thing, but I can still wish.
  7. Compile to native codeCombine 2 and 3 into one version moving forward

If you would like to receive such posts as well as other interesting tutorials then do follow my blog. That’s it for now. Stay tuned for my next post!

About these ads
Standard

4 thoughts on “If you could change something in Python what would it be?

  1. Pingback: #1 Links – Por que só de Python ninguém vive | Aprendendo Python

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s