форум
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
codeinabox@programming.dev to Rust@programming.devEnglish · 10 hours ago

Arguing about arguments

steveklabnik.com

external-link
message-square
15
link
fedilink
20
external-link

Arguing about arguments

steveklabnik.com

codeinabox@programming.dev to Rust@programming.devEnglish · 10 hours ago
message-square
15
link
fedilink
  • Varesti@lemmy.zip
    link
    fedilink
    arrow-up
    1
    ·
    10 hours ago

    YES!

    • Valmond@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      3
      ·
      8 hours ago

      Is this the 5 minute argument?

      • Varesti@lemmy.zip
        link
        fedilink
        arrow-up
        4
        ·
        7 hours ago

        Well it WAS the 5 second argument.

        • lad@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          7 hours ago

          Is it when you pick up an argument someone dropped?

          • Varesti@lemmy.zip
            link
            fedilink
            arrow-up
            3
            ·
            7 hours ago

    • lad@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 hours ago

      I don’t know, it looks like the amount of issues is way higher than improvement in comfort. Beside, they mentioned a lot of corner cases that would definitely show up and become a problem

      I’ve been using C++ for quite some time, and it also had some talks about having named parameters, but it only helps in some places and hinders in most, imo. I feel like in Rust you may use a struct as parameter containing all of function parameteres where you really want the names

    • Zykino@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      9 hours ago

      Maybe

Rust@programming.dev

rust@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: !rust@programming.dev

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
Visibility: Public
globe

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

  • 41 users / day
  • 146 users / week
  • 326 users / month
  • 841 users / 6 months
  • 2 local subscribers
  • 8.29K subscribers
  • 124 Posts
  • 416 Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • torcherist@programming.dev
  • EdTheLegendary@programming.dev
  • BE: 0.19.19
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org