Posts avec #ZenOfPython

#ZenOfPython

Les posts publics sur X qui utilisent #ZenOfPython.

Hashtags associés

  1. Mike Driscoll✓@driscollis
    💡 Remember, in Python, "explicit is better than implicit." Code clarity > clever one-liners. #ZenOfPython #Pythonic Run `import this` in your REPL to see the full Zen of Python
    Télécharger
    47739.7K
  2. Zec@GA_Zechariah
    Day1 of #20DayswithZenOfPython _ Beautiful is better than ugly. #Literal meaning: Aesthetically, beauty is better than ugly but some might argue that the beautiful and the ugly are not opposites, but aspects of the same thing. Notwithstanding, beauty is the appreciation that...
    Zec @GA_Zechariah
    Over the next 20 days, I’ll daily be going through each guiding principle of the Zen of Python penned by Tim Peters in 1999 to #BDFL @gvanrossum with literal and Python inference. Join me as I share the daily nugget. #20DayswithZenOfPython #ZenOfPython #PEP20 #TimPeters #ZacDuna
    102
  3. Zec@GA_Zechariah
    @GA_Zechariah
    ... connects observers and objects. Ugly, through a process can be beautiful. It might be time and energy-consuming, but it is worthwhile. To be appreciated you have to show your beautiful features. #Python meaning: Like the works of art and literature, a code should be...
    113
  4. Pandy Knight@AutomationPanda
    ☝️Simple is better than complex.☝️ Trust me. You'll waste so much time trying to make something fancy, and it will become too hard to maintain. This nugget of wisdom comes from the #ZenOfPython. Honestly, all 20 points are good: #PandyEveryHour
    Télécharger
    014
  5. Raymond Hettinger✓@raymondh
    The #python walrus operator can be used to accumulate data: >>> data = [10, 4, 20, 15, 21, 7] >>> c=0; [(c := c + x) for x in data] [10, 14, 34, 49, 70, 77] How long before someone proposes in-place variants? [(c :+= x) for x in data]
    2994518
  6. Hari Om Gaur✓@hogaur
    Explicit is better than implicit. This principle demands us to think about our assumptions and communicate with details. Precisely, but with details. Omission of details often times makes sentences short/simple for one but can confuse/complicate stuff for others. #zenofpython
    206
  7. David R. MacIver@DRMacIver
    1. Namespaces are one honking great idea -- let's do more of those! 2. Implement namespaces by mutating global state. #zenofpython
    002
  8. geekovo@geekovo
    Co je elegantnější? Popisovat testy pomocí komentáře, nebo řetězce? (v prvním případě lze, překvapivě, obsah komentáře získat z reflexe closury)
    Télécharger
    1114
  9. Tim Hopper✓@tdhopper
    PyPI PyPy SimPy SymPy Cython Python Jython Brython BPython CPython IPython WPython #ZenOfPython
    11020
  10. Wofai Eyong✓@phaibooboo
    I learnt something beautiful yet hilarious, and thought to share. Ever heard of the Zen of Python? The Zen of Python is a set of 19 guiding principles and philosophies that encourage programmers to write code that is not only functional but also elegant, readable, & maintainable.
    Télécharger
    36243.1K
  11. Wofai Eyong✓@phaibooboo
    @phaibooboo
    · In the face of ambiguity, refuse the temptation to guess. · There should be one-- and preferably only one --obvious way to do it. · Although that way may not be obvious at first unless you're Dutch. · Now is better than never. · Although never is often better than *right* now.
    101314
  12. Wofai Eyong✓@phaibooboo
    @phaibooboo
    · If the implementation is hard to explain, it's a bad idea. · If the implementation is easy to explain, it may be a good idea. · Namespaces are one honking great idea -- let's do more of those! Tried it yet?😄😄 #python #zenofpython
    002288
  13. Afficher plus de posts