StuartLemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
ElCanut@jlai.lu to Programmer Humor@programming.dev · 6 months ago

Different philosophies

jlai.lu

message-square
17
fedilink
3

Different philosophies

jlai.lu

ElCanut@jlai.lu to Programmer Humor@programming.dev · 6 months ago
message-square
17
fedilink
alert-triangle
You must log in or register to comment.
  • Kushan@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 months ago

    Rust is completely correct to be a dick about it as well. Type safety is there for a reason.

  • samus12345@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    6 months ago

    You know, I always wondered what the original image looked like, and even trusty Know Your Meme doesn’t show it. It looked like this:

  • HexesofVexes@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    It works and is a pile of jank - Python

    It doesn’t work and is a pile of jank - C++

    You violated gods laws with how bad your code is and it still runs (right through the wall) - C

  • UnfortunateShort@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    6 months ago

    In bigger projects, you tend to miss type safety really bad, really fast. Rust has it built in, Python can have it bolted on. That’s simply one of the many aspects to consider when choosing your programming language.

    But don’t worry about it too much. If one thing’s for sure, it’s that you will regret that choice in any case.

  • Moc@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    Do we need any more proof Python is superior?

    (I’m ^joking, ^I ^love ^Rust)

  • TomasEkeli@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    a compile-time error is highly preferable to a run-time error

  • mlg@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 months ago

    Hey at least it’s not JavaScript which is perpetually high on crack with Object object

    • mindbleach@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      6 months ago

      1 + 1 = “11”.

      • Justas🇱🇹@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        6 months ago

        [] + [] = “”

  • DannyBoy@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 months ago

    You wouldn’t typecast a car.

    • qarbone@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 months ago

      I may be on the wrong side of history but I can’t see what other role a car could get in the film industry except vehicle.

  • Diplomjodler@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    For our American friends: the Opel Corsa is a car.

    • plunged_ewe@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      6 months ago

      For the Brits, it’s a Vauxhall Corsa.

      • Ⓜ3️⃣3️⃣ 🌌@lemmy.sdf.org
        link
        fedilink
        arrow-up
        0
        ·
        6 months ago

        For everyone : it’s a sh’tbox (never again)

  • Limonene@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    C when I cast a char * * to a char * * const: ok

    C when I cast a char * * to a char * const *: ok

    C when I cast a char * * to a char const * *: WTF

    C when I cast a char * * to a char const * const *: ok

    • SaharaMaleikuhm@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      6 months ago

      Please stop, I have CPTSD.

  • KindaABigDyl@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    And that’s why I don’t use Python for anything more than simple scripts

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: [email protected]

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.

  • 645 users / day
  • 4.47K users / week
  • 7.83K users / month
  • 18.2K users / 6 months
  • 1 local subscriber
  • 25K subscribers
  • 921 Posts
  • 17K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org