#ZenOfPython içeren gönderiler

#ZenOfPython

X'te #ZenOfPython kullanan herkese açık gönderiler.

İlgili etiketler

  1. suecodes@runhappylife
    Found a Python course and never seen this before in any other coding language, very poetic! #zenofpython
    İndir
    002
  2. 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
    İndir
    47739.7K
  3. 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
  4. 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
  5. Ray@ProfitzTV
    Did you know about this easter egg introduced in Python Enhancement Proposal (PEP-20)? >>>import this And read The Zen of Python... #python #zenofpython #thebalddev
    İndir
    011
  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. Mike Driscoll✓@driscollis
    #Python Pop Quiz 🐍❓ What is x? A) None, None B) 0 C) 1 D) (0, 1)
    İndir
    9723306
  8. 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.
    İndir
    36243.1K
  9. 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
  10. 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
  11. 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
  12. Moin Uddin@Moinhunzai
    Modern enlightenment. The Zen of python and peek into the source code of the wolrd. Balancing technology with natural internalism. #zenofpython #python
    İndir
    113
  13. 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
    İndir
    014
  14. 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
  15. Zec@GA_Zechariah
    Day10 of #20DayswithZenofPython _ Errors should never pass silently. #Literal meaning: Principle suggests that when someone does wrong, you correct them because if you don’t, the bug becomes habit and habit becomes character which invariably becomes difficult to debug.
    102
  16. Daha fazla gönderi göster