home.social

#ducktyping — Public Fediverse posts

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

  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. To be precise, 3 bad rows out of 600M...

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

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

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

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

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

  6. 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

  7. 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

  8. 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

  9. 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

  10. 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

  11. 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

  12. 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

  13. 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

  14. 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

  15. 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

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

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

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

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

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

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

    #ducktyping

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

    #ducktyping

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

    #ducktyping

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

    #ducktyping

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

    #ducktyping

  26. RT @[email protected]

    #Go interfaces and #Python protocols are a static form of #ducktyping.

    After a decade of experience, the consensus among #Go devs is that interfaces are more useful with 1 or 2 methods, like Reader—provides Read().

    We need to learn this as we use typing.Protocol in #Python.

    🧵

    🐦🔗: twitter.com/ramalhoorg/status/