home.social

#zenofpython — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #zenofpython, aggregated by home.social.

  1. @yantor3d

    When people have pushed that around me, I show them the Zen of Python. It's important enough that it's the climactic line.

    > Namespaces are one honking great idea -- let's do more of those!

    `from x import y` throws one of Python's greatest features in the trash, and mashes everything into a single namespace, with all the opportunities for collisions, accidental overwrites, thinkos, and other problems.

    Don't do it.

    #python #namespace #namespaces #ZenOfPython #zen #import

  2. @yantor3d

    When people have pushed that around me, I show them the Zen of Python. It's important enough that it's the climactic line.

    > Namespaces are one honking great idea -- let's do more of those!

    `from x import y` throws one of Python's greatest features in the trash, and mashes everything into a single namespace, with all the opportunities for collisions, accidental overwrites, thinkos, and other problems.

    Don't do it.

    #python #namespace #namespaces #ZenOfPython #zen #import

  3. @yantor3d

    When people have pushed that around me, I show them the Zen of Python. It's important enough that it's the climactic line.

    > Namespaces are one honking great idea -- let's do more of those!

    `from x import y` throws one of Python's greatest features in the trash, and mashes everything into a single namespace, with all the opportunities for collisions, accidental overwrites, thinkos, and other problems.

    Don't do it.

    #python #namespace #namespaces #ZenOfPython #zen #import

  4. @yantor3d

    When people have pushed that around me, I show them the Zen of Python. It's important enough that it's the climactic line.

    > Namespaces are one honking great idea -- let's do more of those!

    `from x import y` throws one of Python's greatest features in the trash, and mashes everything into a single namespace, with all the opportunities for collisions, accidental overwrites, thinkos, and other problems.

    Don't do it.

    #python #namespace #namespaces #ZenOfPython #zen #import

  5. @yantor3d

    When people have pushed that around me, I show them the Zen of Python. It's important enough that it's the climactic line.

    > Namespaces are one honking great idea -- let's do more of those!

    `from x import y` throws one of Python's greatest features in the trash, and mashes everything into a single namespace, with all the opportunities for collisions, accidental overwrites, thinkos, and other problems.

    Don't do it.

    #python #namespace #namespaces #ZenOfPython #zen #import