LQX Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 1年前

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

lemmy.ml

message-square
61
link
fedilink
401

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

lemmy.ml

cm0002@lemmy.world to Programmer Humor@programming.dev · 1年前
message-square
61
link
fedilink
  • Dave.@aussie.zone
    link
    fedilink
    arrow-up
    72
    ·
    1年前

    rustfmt

    is stopping me from writing code like this, and I have never been more happier using it after viewing this.

    • killeronthecorner@lemmy.world
      link
      fedilink
      English
      arrow-up
      62
      ·
      1年前

      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
        ·
        1年前

        Crap, thats what I was thinking.

        • verstra@programming.dev
          link
          fedilink
          arrow-up
          10
          ·
          1年前

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

          • killeronthecorner@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            ·
            1年前

            Slow down satan

      • nintendiator@feddit.cl
        link
        fedilink
        English
        arrow-up
        1
        ·
        1年前

        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: !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.

  • 2.3K users / day
  • 4.43K users / week
  • 8.94K users / month
  • 18.2K users / 6 months
  • 1 local subscriber
  • 31K subscribers
  • 1.78K Posts
  • 52.3K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.16
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org