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

Python has a library for everything but..

programming.dev

message-square
18
link
fedilink
252

Python has a library for everything but..

programming.dev

 sus   ( @sus@programming.dev )  to Programmer Humor@programming.dev · 1 year ago
message-square
18
link
fedilink
alert-triangle
You must log in or # to comment.
  •  sus   ( @sus@programming.dev ) OP
    link
    fedilink
    arrow-up
    34
    ·
    1 year 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
    ·
    1 year ago

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

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

      They’ve explained why

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

        Will you share the source?

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

        •  misterbngo   ( @misterbngo@awful.systems ) 
          link
          fedilink
          arrow-up
          6
          ·
          1 year 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
            ·
            1 year 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
      ·
      1 year ago

      Flask does - maybe a reason to switch? Lol

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

        I have been meaning to try it

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

      Kubernetes as well…

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

        I hate kubernetes so much

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

          One more reason to add to my hate list for kubernetes

  •  JackbyDev   ( @JackbyDev@programming.dev ) 
    link
    fedilink
    English
    arrow-up
    10
    ·
    1 year 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
    ·
    1 year 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
      ·
      1 year 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
    ·
    1 year 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
    ·
    1 year 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
    8 months ago

    deleted by creator

  •  Reptorian   ( @Reptorian@programming.dev ) 
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year 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
Visibility: Public
globe

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

  • 364 users / day
  • 1.81K users / week
  • 3.9K users / month
  • 8.37K users / 6 months
  • 449 local subscribers
  • 28.3K subscribers
  • 1.18K Posts
  • 19.3K Comments
  • Modlog
  • mods:
  •  Feyter   ( @Feyter@programming.dev ) 
  •  adr1an   ( @anzo@programming.dev ) 
  •  BurningTurtle   ( @BurningTurtle@programming.dev ) 
  •  Pierre-Yves Lapersonne   ( @pylapp@programming.dev ) 
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code