On Wed, Sep 27, 2017 at 5:25 PM, Peter Otten <__pete...@web.de> wrote:
> If you want that level of -- let's call it consistency -- you should either
> plead for
>
> foo = import("foo")
>
> to spell an import

Yeah no thanks. I work also with JavaScript, and there is no benefit
whatsoever to having lines like:

const express = require("express");

Redundancy is a bad thing. Since importing is so extremely common, it
makes good sense to promote it to syntax and eliminate the redundancy.
That's why we have some things as syntax and others as functions - the
advantages outweigh the costs in some cases, but not in others.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to