home.social

#ducktyping — Public Fediverse posts

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

fetched live
  1. To be precise, 3 bad rows out of 600M...

    #ducktyping - talk to your kids about it before someone else does.

  2. To be precise, 3 bad rows out of 600M...

    #ducktyping - talk to your kids about it before someone else does.

  3. What's in a name? That which we call a duck
    By any other name would quack the same;
    So a sequence would, were it not a sequence call'd,
    Retain that dear iterability which it bears
    Without that title. Sequence, doff thy name,
    And for that name which is no part of thee
    give thy iterator to me.

    #Python #DuckTyping

  4. What's in a name? That which we call a duck
    By any other name would quack the same;
    So a sequence would, were it not a sequence call'd,
    Retain that dear iterability which it bears
    Without that title. Sequence, doff thy name,
    And for that name which is no part of thee
    give thy iterator to me.

    #Python #DuckTyping

  5. Checking for an empty list in Python - Python Morsels (@treyhunner)

    Various methods to check if a list is empty in Python:
    ➡️ checking the list's length,
    ➡️ evaluating the list's truthiness
    ➡️ comparing the list to another empty list

    pythonmorsels.com/checking-for

  6. Checking for an empty list in Python - Python Morsels (@treyhunner)

    Various methods to check if a list is empty in Python:
    ➡️ checking the list's length,
    ➡️ evaluating the list's truthiness
    ➡️ comparing the list to another empty list

    #Python #Truthiness #PEP8 #DuckTyping #Programming #PythonProgramming

    pythonmorsels.com/checking-for

  7. Turns out duck typing is actually a way you can draw ducks with code: #DuckTyping

  8. Turns out duck typing is actually a way you can draw ducks with code: #DuckTyping #BingAI #Bing

  9. @chaotin “Well if it smells like lemon cake and tastes a bit sour… 🤷‍♂️”

    #ducktyping

  10. @chaotin “Well if it smells like lemon cake and tastes a bit sour… 🤷‍♂️”

    #ducktyping