Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
sus ( sus@programming.dev )  to Programmer Humor@programming.dev · 2 years ago

Python has a library for everything but..

programming.dev

message-square
18
link
fedilink
251

Python has a library for everything but..

programming.dev

sus ( sus@programming.dev )  to Programmer Humor@programming.dev · 2 years ago
message-square
18
link
fedilink
alert-triangle
You must log in or register to comment.
  • sus ( sus@programming.dev ) OP
    link
    fedilink
    arrow-up
    34
    ·
    2 years ago

    bonus points if you’re using a statically typed language but the library uses extensive metaprogramming seemingly for the sole purpose of hiding what types you actually need

  • AlexWIWA ( AlexWIWA@lemmy.ml ) 
    link
    fedilink
    English
    arrow-up
    10
    ·
    2 years ago

    It’s still crazy to me that Django doesn’t have type hints.

    • misterbngo ( misterbngo@awful.systems ) 
      link
      fedilink
      arrow-up
      5
      ·
      2 years ago

      They’ve explained why

      • salmoura ( salmoura@lemmy.eco.br ) 
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        Will you share the source?

        • far_university190 ( far_university190@feddit.org ) 
          link
          fedilink
          English
          arrow-up
          13
          ·
          2 years ago

        • misterbngo ( misterbngo@awful.systems ) 
          link
          fedilink
          arrow-up
          6
          ·
          2 years ago

          Hi, i believe this is where https://groups.google.com/g/django-developers/c/C_Phs05kL1Q

          • AlexWIWA ( AlexWIWA@lemmy.ml ) 
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 years ago

            I disagree with them, but I’m also not the one that would be spending days adding support, so fair enough.

    • Midnitte ( Midnitte@beehaw.org ) 
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 years ago

      Flask does - maybe a reason to switch? Lol

      • AlexWIWA ( AlexWIWA@lemmy.ml ) 
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

        I have been meaning to try it

    • 𝕨𝕒𝕤𝕒𝕓𝕚 ( wasabi@feddit.org ) 
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      Kubernetes as well…

      • AlexWIWA ( AlexWIWA@lemmy.ml ) 
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

        I hate kubernetes so much

        • fossphi ( fossphi@lemm.ee ) 
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 years ago

          One more reason to add to my hate list for kubernetes

  • JackbyDev ( JackbyDev@programming.dev ) 
    link
    fedilink
    English
    arrow-up
    10
    ·
    2 years ago

    This is probably my biggest complaint about trying to learn Python past the beginner level and into intermediate and beyond. This is also one of my strongest arguments in favor of static type systems over dynamic ones.

  • dudinax ( dudinax@programming.dev ) 
    link
    fedilink
    arrow-up
    9
    ·
    2 years ago

    Rust crates have the second and third problems.

    Rust at least has type annotation.

    The type has private fields. There’s no constructor. There’s no implementation of the From trait except on itself. You can’t find a function anywhere that returns the type.

    • KindaABigDyl ( KindaABigDyl@programming.dev ) 
      link
      fedilink
      arrow-up
      6
      ·
      2 years ago

      I find Rust crates generally have pretty good docs. Docs.rs is a major time saver

  • Evil_Shrubbery ( Evil_Shrubbery@lemm.ee ) 
    link
    fedilink
    arrow-up
    7
    ·
    2 years ago

    Using cryptic parameter names is just nonsense when you can obviously use lewd cryptic parameter names instead.

  • AVincentInSpace ( AVincentInSpace@pawb.social ) 
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 years ago

    you should learn Rust. the type system is so comprehensive that half the time you can guess what a function does (or at the very least what you’re supposed to pass to it) without a single line of human written documentation.

  • ☂️- ( umbrella@lemmy.ml ) 
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    2 years ago

    deleted by creator

  • Reptorian ( Reptorian@programming.dev ) 
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 years ago

    I’m just glad I have other options than just Python. Am not afraid of writing my solutions either. I rarely use Python these day.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 574 users / day
  • 2.26K users / week
  • 4.32K users / month
  • 8.42K users / 6 months
  • 465 local subscribers
  • 34.3K subscribers
  • 1.69K Posts
  • 28K Comments
  • Modlog
  • mods:
  • Feyter ( Feyter@programming.dev ) 
  • adr1an ( anzo@programming.dev ) 
  • BurningTurtle ( BurningTurtle@programming.dev ) 
  • Pierre-Yves Lapersonne ( pylapp@programming.dev ) 
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code