Beiträge mit #ZenOfPython

#ZenOfPython

Öffentliche Beiträge auf X, die #ZenOfPython verwenden.

Verwandte Hashtags

  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
    Herunterladen
    47739.7K
  2. Décimo Círculo@DecimoCirculo
    El 1er zen de Python nos recuerda que la legibilidad es importante y el 2do zen nos enseña a preferir la claridad sobre la complejidad. ¡Dos principios fundamentales para escribir código Pythonic y eficiente! 🐍👨‍💻 #Python #ZenOfPython
    00178
  3. Soroush Moosapour✓@SarcasticPyDev
    بگذار این 2 تا رو پروفایل کنم ببینم چی میشه:
    Herunterladen
    Soroush Moosapour @SarcasticPyDev
    @HomayouX [print("bit bucket bug") for _ in range(16)]
    1015581
  4. Soroush Moosapour✓@SarcasticPyDev
    @aabharyaa
    @biindruid پشمام! روش تو هم خیلی بهبود پرفورمنس نداشت! وان لاینر هم بدترین پرفورمنس‌رو داشت :))))
    202108
  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. RL@iamrawlins
    Answer is D, but the code looks bad/poor to me. #ZenOfPython Simple is better than complex. Readability counts.
    Mike Driscoll @driscollis
    #Python Pop Quiz 🐍❓ What is x? A) None, None B) 0 C) 1 D) (0, 1)
    102
  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. Will McGugan✓@willmcgugan
    Some code is beautiful, easy to understand, with clearly defined goals, that are easy to test. Some code seems to actively fight against attempts to beautify (and not just formatting). Can all code become beautiful and how much effort should you put in to it?
    8117
  9. Mehr Beiträge anzeigen