• Rizo
    link
    fedilink
    English
    1425 days ago

    Time coding🤔 runtime: the other way around😜

    • adr1anOP
      link
      English
      125 days ago

      async enters the chat

  • @[email protected]
    link
    fedilink
    7
    edit-2
    24 days ago

    …and 5 min in chatgpt. Only you spend 3 days making it work because you never understood coding in the first place.

    • @[email protected]
      link
      fedilink
      224 days ago

      And honestly, even if you do understand coding, you’ll probably spend more time testing the code than it would’ve taken to write and test it yourself.

      We had an applicant use AI in an interview, and they made the same mistake twice in 5 minutes, because that’s the code the model spat out. This was someone with several years of experience (I think they even ran a team for a couple years), so they certainly understood coding, they just trusted their tools too much. We even gave them a softball question, “How confident are you that your code is correct? What would you need to feel more confident?,” and their answer was, “I’m 100% confident that it’s correct” when they should have answered, “I’d need to write some unit tests.”

  • @[email protected]
    link
    fedilink
    English
    725 days ago

    “Hardware cycles are cheap. Wetware cycles are expensive.”

    • Paraphrased from something I once heard Jacob Kaplan-Moss say but don’t remember his exact wording at PyCon many moons ago.
    • @[email protected]
      link
      fedilink
      425 days ago

      Then why do Python people insist on having the programmer do so much stuff instead of letting a compiler do it?

        • @[email protected]
          link
          fedilink
          024 days ago

          Verifying that your different pieces of code actually work together. With a static type system and similar compiler features you can lighten the mental load a lot compared to languages like Python where you need to keep it all in your head.

            • @[email protected]
              link
              fedilink
              14 days ago

              The problem with optional typing is that it has all the downsides of both but gives you very little of the advantages of a strong static type system, e.g. being able to rely on types catching certain kinds of errors when refactoring because you don’t know for sure that all APIs have types. It is really nothing more than an admission by dynamically typed languages that static types are so useful you can’t really do without them while at the same time not admitting that it might be best to move to a language and library ecosystem that was designed with static types from the start.

  • @[email protected]
    link
    fedilink
    English
    525 days ago

    I love C and Assembly as much as the next guy, but implementation time to the optimal solution matters.

  • Riskable
    link
    English
    125 days ago

    …and often 10 minutes in bash

  • @[email protected]
    link
    fedilink
    -1
    edit-2
    24 days ago

    Rust:

    2 days, most of it fighting the compiler.

    I did a POC in Rust vs Python. Rust took longer to write, would be harder to maintain by our team, and with numba, the performance difference was small. So we went with Python.