BROWNTOWN
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months ago

What's stopping you from writing your Rust like this?

lemmy.ml

external-link
message-square
61
fedilink
  • cross-posted to:
  • [email protected]
403
external-link

What's stopping you from writing your Rust like this?

lemmy.ml

cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months ago
message-square
61
fedilink
  • cross-posted to:
  • [email protected]
  • killeronthecorner@lemmy.world
    link
    fedilink
    English
    arrow-up
    62
    ·
    2 months ago

    I’m going to write a tool that automatically adds the braces and semicolons to the column as you edit the code.

    I will call it rustfml

    • irelephant [he/him]🍭@lemm.ee
      link
      fedilink
      English
      arrow-up
      11
      ·
      2 months ago

      Crap, thats what I was thinking.

      • verstra@programming.dev
        link
        fedilink
        arrow-up
        10
        ·
        2 months ago

        It could be run after git checkout and then rustfmt before commit.

        • killeronthecorner@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          ·
          2 months ago

          Slow down satan

    • nintendiator@feddit.cl
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      Please do, I’m waiting for it to get ported to other languages.

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.

  • 854 users / day
  • 4.66K users / week
  • 9.25K users / month
  • 17.8K users / 6 months
  • 2 local subscribers
  • 23.1K subscribers
  • 1.39K Posts
  • 50K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.6
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org